bbp_publicize_forum

bbp_publicize_forum

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_publicize_forum') is found 1 times:

  • /includes/forums/functions.php line 826
    function bbp_publicize_forum( $forum_id = 0, $current_visibility = '' ) {
    
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	do_action( 'bbp_publicize_forum',  $forum_id );
    
    	// Get private forums
    	$private = bbp_get_private_forum_ids();
    
    	// Find this forum in the array
    	if ( in_array( $forum_id, $private, true ) ) {