Changeset 7378 for trunk/src/includes/core/template-loader.php
- Timestamp:
- 11/22/2025 06:05:25 AM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/template-loader.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-loader.php
r7373 r7378 29 29 function bbp_template_include_theme_supports( $template = '' ) { 30 30 31 // phpcs:disable Generic.CodeAnalysis.EmptyStatement.DetectedElseif 32 31 33 // Editing a user 32 34 if ( bbp_is_single_user_edit() && ( $new_template = bbp_get_single_user_edit_template() ) ) : //phpcs:ignore … … 86 88 elseif ( bbp_is_topic_tag() && ( $new_template = bbp_get_topic_tag_template() ) ) : 87 89 endif; 90 91 // phpcs:enable 88 92 89 93 // A bbPress template file was located, so override the WordPress template … … 94 98 95 99 /** 96 * Filters the path to the template file that is being used.97 *98 * @since 2.0.0 bbPress (r3032)99 *100 * @param string $template The path to the template file.101 */100 * Filters the path to the template file that is being used. 101 * 102 * @since 2.0.0 bbPress (r3032) 103 * 104 * @param string $template The path to the template file. 105 */ 102 106 return apply_filters( 'bbp_template_include_theme_supports', $template ); 103 107 }
Note: See TracChangeset
for help on using the changeset viewer.