Changeset 11447 for trunk/src/bp-core/bp-core-template-loader.php
- Timestamp:
- 03/04/2017 06:26:55 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-template-loader.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template-loader.php
r11267 r11447 24 24 * @param string|null $name Optional. Template part name. Used to generate 25 25 * secondary filenames, eg 'personal' for 'activity-personal.php'. 26 * @return string Path to located template. See {@link bp_locate_template()}.26 * @return false|string Path to located template. See {@link bp_locate_template()}. 27 27 */ 28 28 function bp_get_template_part( $slug, $name = null ) { … … 74 74 * @param string $slug Template slug. 75 75 * @param string|null $name Template name. 76 * @return string76 * @return false|string 77 77 */ 78 78 function bp_get_asset_template_part( $slug, $name = null ) { … … 167 167 * 168 168 * @param string $filename Relative filename to search for. 169 * @return array|boolArray of asset data if one is located (includes absolute filepath and URI).170 * Boolean false on failure.169 * @return false|array Array of asset data if one is located (includes absolute filepath and URI). 170 * Boolean false on failure. 171 171 */ 172 172 function bp_locate_template_asset( $filename ) { … … 606 606 * @since 2.4.0 Added singular.php to stack 607 607 * 608 * @return array Array of possible root level wrapper template files.608 * @return string Possible root level wrapper template files. 609 609 */ 610 610 function bp_get_theme_compat_templates() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)