bbp_locate_template

bbp_locate_template

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_locate_template') is found 1 times:

  • /includes/core/template-functions.php line 99
    095
    096
    097
    098
    099
    100
    101
    102
    103
    104
    *
     * If you want to override a specific template part, please either filter
     * 'bbp_get_template_part' or add a new location to the template stack.
     */
    do_action( 'bbp_locate_template', $located, $template_name, $template_names, $template_locations, $load, $require_once );
     
    // Maybe load the template if one was located
    if ( ( defined( 'WP_USE_THEMES' ) && WP_USE_THEMES ) && ( true === $load ) && ! empty( $located ) ) {
        load_template( $located, $require_once );
    }