bbp_get_template_locations( array $templates = array() )
Get the possible subdirectories to check for templates in
Description Description
Parameters Parameters
- $templates
-
(Optional) Templates we are looking for
Default value: array()
Return Return
(array) Possible subdirectories to look in
Source Source
File: includes/core/template-functions.php
function bbp_get_template_locations( $templates = array() ) { $locations = array( 'bbpress', 'forums', '' ); // Filter & return return apply_filters( 'bbp_get_template_locations', $locations, $templates ); }
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |