bbp_privatize_forum

bbp_privatize_forum

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_privatize_forum') is found 1 times:

  • /includes/forums/functions.php line 883
    function bbp_privatize_forum( $forum_id = 0, $current_visibility = '' ) {
    
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	do_action( 'bbp_privatize_forum',  $forum_id );
    
    	// Only run queries if visibility is changing
    	if ( bbp_get_private_status_id() !== $current_visibility ) {
    
    		// Get hidden forums
    		$hidden = bbp_get_hidden_forum_ids();