bbp_get_view_all

bbp_get_view_all

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_view_all') is found 1 times:

  • /includes/common/functions.php line 106
    function bbp_get_view_all( $cap = 'moderate' ) {
    	$retval = ( ( ! empty( $_GET['view'] ) && ( 'all' === $_GET['view'] ) && current_user_can( $cap ) ) );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_get_view_all', (bool) $retval, $cap );
    }
    
    /**
     * Assist pagination by returning correct page number
     *
     * @since 2.0.0 bbPress (r2628)