Changeset 13767 for trunk/src/bp-xprofile/screens/settings-profile.php
- Timestamp:
- 03/09/2024 11:07:30 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/screens/settings-profile.php
r13503 r13767 12 12 * 13 13 * @since 2.0.0 14 * 15 * @return void 14 16 */ 15 17 function bp_xprofile_screen_settings() { … … 21 23 } 22 24 23 /** 24 * Filters the template to load for the XProfile settings screen. 25 * 26 * @since 2.0.0 27 * 28 * @param string $template Path to the XProfile change avatar template to load. 29 */ 30 bp_core_load_template( apply_filters( 'bp_settings_screen_xprofile', '/members/single/settings/profile' ) ); 25 $templates = array( 26 /** 27 * Filters the template to load for the XProfile settings screen. 28 * 29 * @since 2.0.0 30 * 31 * @param string $template Path to the XProfile change avatar template to load. 32 */ 33 apply_filters( 'bp_settings_screen_xprofile', '/members/single/settings/profile' ), 34 'members/single/index', 35 ); 36 37 bp_core_load_template( $templates ); 31 38 } 32 39 … … 35 42 * 36 43 * @since 1.9.0 44 * 45 * @return void 37 46 */ 38 47 function bp_xprofile_action_settings() {
Note: See TracChangeset
for help on using the changeset viewer.