bbp_hide_forum
bbp_hide_forum
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: action
Displaying hooks found in version: bbpress.2.6.9do_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();