bbp_locate_template
bbp_locate_template
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: action
Displaying hooks found in version: bbpress.2.6.9do_action('bbp_locate_template') is found 1 times:
- /includes/core/template-functions.php line 99095096097098099100101102103104
*
* 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
);
}