bbp_get_forum_visibilities

bbp_get_forum_visibilities

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_forum_visibilities') is found 1 times:

  • /includes/forums/functions.php line 2119
     */
    function bbp_get_forum_visibilities( $forum_id = 0) {
    
    	// Filter & return
    	return (array) apply_filters( 'bbp_get_forum_visibilities', array(
    		bbp_get_public_status_id()  => _x( 'Public',  'Make forum public',  'bbpress' ),
    		bbp_get_private_status_id() => _x( 'Private', 'Make forum private', 'bbpress' ),
    		bbp_get_hidden_status_id()  => _x( 'Hidden',  'Make forum hidden',  'bbpress' )
    	), $forum_id );
    }