bbp_merge_topic_tag

  • do_action( 'bbp_merge_topic_tag', $tag_id, $to_tag, $tag )

    Source Reference:

    • Component: bbPress:: bbp-topic
      File: /bbp-includes/bbp-topic-functions.php :: Trac Source Line: 1692
      			if ( is_wp_error( $tag ) && $tag->get_error_message() ) {
      				bbp_add_error( 'bbp_manage_topic_tag_merge_error', sprintf( __( '<strong>ERROR</strong>: The following problem(s) have been found while merging the tags: %s', 'bbpress' ), $tag->get_error_message() ) );
      				return;
      			}
      
      			// Redirect
      			$redirect = get_term_link( (int) $to_tag, bbp_get_topic_tag_tax_id() );
      
      			// Update counts, etc...
      			do_action( 'bbp_merge_topic_tag', $tag_id, $to_tag, $tag );
      
      			break;
      
      		// Delete tag
      		case 'bbp-delete-topic-tag' :
      
      			// Nonce check
      			check_admin_referer( 'delete-tag_' . $tag_id );
      
      			// Can user delete topic tags?
      

Comments are closed.