bbp_include_all_forums

bbp_include_all_forums

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_include_all_forums') is found 1 times:

  • /includes/forums/functions.php line 2302
     */
    function bbp_pre_get_posts_normalize_forum_visibility( $posts_query = null ) {
    
    	// Bail if all forums are explicitly allowed
    	if ( true === apply_filters( 'bbp_include_all_forums', false, $posts_query ) ) {
    		return;
    	}
    
    	// Bail if $posts_query is not an object or of incorrect class
    	if ( ! is_object( $posts_query ) || ! is_a( $posts_query, 'WP_Query' ) ) {
    		return;