bbp_hide_forum

bbp_hide_forum

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_hide_forum') is found 1 times:

  • /includes/forums/functions.php line 932
    function bbp_hide_forum( $forum_id = 0, $current_visibility = '' ) {
    
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	do_action( 'bbp_hide_forum', $forum_id );
    
    	// Only run queries if visibility is changing
    	if ( bbp_get_hidden_status_id() !== $current_visibility ) {
    
    		// Get private forums
    		$private = bbp_get_private_forum_ids();