bbp_get_root_slug

bbp_get_root_slug

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_root_slug') is found 1 times:

  • /includes/core/options.php line 759
     */
    function bbp_get_root_slug( $default = 'forums' ) {
    
    	// Filter & return
    	return apply_filters( 'bbp_get_root_slug', get_option( '_bbp_root_slug', $default ) );
    }
    
    /**
     * Are we including the root slug in front of forum pages?
     *
     * @since 2.1.0 bbPress (r3759)