bbp_toggle_forum_admin

bbp_toggle_forum_admin

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_toggle_forum_admin') is found 1 times:

  • /includes/admin/forums.php line 404
    		// Filter all message args
    		$retval = apply_filters( 'bbp_toggle_forum_action_admin', $retval, $forum_id, $action );
    
    		// Do additional forum toggle actions (admin side)
    		do_action( 'bbp_toggle_forum_admin', $success, $post_data, $action, $retval );
    
    		// Redirect back to the forum
    		$redirect = add_query_arg( $retval, remove_query_arg( array( 'action', 'forum_id' ) ) );
    		bbp_redirect( $redirect );
    	}