bbp_toggle_topic_admin

bbp_toggle_topic_admin

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_toggle_topic_admin') is found 1 times:

  • /includes/admin/topics.php line 665
    		// Filter all message args
    		$retval = apply_filters( 'bbp_toggle_topic_action_admin', $retval, $topic_id, $action );
    
    		// Do additional topic toggle actions (admin side)
    		do_action( 'bbp_toggle_topic_admin', $success, $post_data, $action, $retval );
    
    		// Redirect back to the topic
    		$redirect = add_query_arg( $retval, remove_query_arg( array( 'action', 'topic_id' ) ) );
    		bbp_redirect( $redirect );
    	}