Changeset 10425 for trunk/src/bp-core/bp-core-template-loader.php
- Timestamp:
- 12/22/2015 05:41:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template-loader.php
r10417 r10425 24 24 * @uses get_template_part() 25 25 * 26 * @param string $slug Template part slug. Used to generate filenames,27 * eg 'friends' for 'friends.php'.28 * @param string $name Optional. Template part name. Used to generate29 * secondary filenames, eg 'personal' for 'activity-personal.php'.26 * @param string $slug Template part slug. Used to generate filenames, 27 * eg 'friends' for 'friends.php'. 28 * @param string|null $name Optional. Template part name. Used to generate 29 * secondary filenames, eg 'personal' for 'activity-personal.php'. 30 30 * @return string Path to located template. See {@link bp_locate_template()}. 31 31 */ … … 256 256 * @see bp_get_template_part() for a description of $slug and $name params. 257 257 * 258 * @param string $slug See {@link bp_get_template_part()}.259 * @param string $name See {@link bp_get_template_part()}.260 * @param bool $echo If true, template content will be echoed. If false,261 * returned. Default: true.258 * @param string $slug See {@link bp_get_template_part()}. 259 * @param string|null $name See {@link bp_get_template_part()}. 260 * @param bool $echo If true, template content will be echoed. If false, 261 * returned. Default: true. 262 262 * @return string|null If $echo, returns the template content. 263 263 */ … … 372 372 * 373 373 * @param array $stacks Array of template locations. 374 * @return array ()Array of all template locations registered so far.374 * @return array Array of all template locations registered so far. 375 375 */ 376 376 function bp_add_template_stack_locations( $stacks = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.