Changeset 9215 for trunk/src/bp-settings/bp-settings-screens.php
- Timestamp:
- 12/06/2014 09:19:03 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-settings/bp-settings-screens.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-screens.php
r7228 r9215 14 14 * Show the general settings template 15 15 * 16 * @since BuddyPress (1.5 )16 * @since BuddyPress (1.5.0) 17 17 */ 18 18 function bp_settings_screen_general() { … … 23 23 } 24 24 25 /** 26 * Filters the template file path to use for the general settings screen. 27 * 28 * @since BuddyPress (1.6.0) 29 * 30 * @param string $value Directory path to look in for the template file. 31 */ 25 32 bp_core_load_template( apply_filters( 'bp_settings_screen_general_settings', 'members/single/settings/general' ) ); 26 33 } … … 29 36 * Show the notifications settings template 30 37 * 31 * @since BuddyPress (1.5 )38 * @since BuddyPress (1.5.0) 32 39 */ 33 40 function bp_settings_screen_notification() { … … 38 45 } 39 46 47 /** 48 * Filters the template file path to use for the notification settings screen. 49 * 50 * @since BuddyPress (1.6.0) 51 * 52 * @param string $value Directory path to look in for the template file. 53 */ 40 54 bp_core_load_template( apply_filters( 'bp_settings_screen_notification_settings', 'members/single/settings/notifications' ) ); 41 55 } … … 44 58 * Show the delete-account settings template 45 59 * 46 * @since BuddyPress (1.5 )60 * @since BuddyPress (1.5.0) 47 61 */ 48 62 function bp_settings_screen_delete_account() { … … 53 67 } 54 68 55 // Load the template 69 /** 70 * Filters the template file path to use for the delete-account settings screen. 71 * 72 * @since BuddyPress (1.6.0) 73 * 74 * @param string $value Directory path to look in for the template file. 75 */ 56 76 bp_core_load_template( apply_filters( 'bp_settings_screen_delete_account', 'members/single/settings/delete-account' ) ); 57 77 } … … 60 80 * Show the capabilities settings template 61 81 * 62 * @since BuddyPress (1.6 )82 * @since BuddyPress (1.6.0) 63 83 */ 64 84 function bp_settings_screen_capabilities() { … … 69 89 } 70 90 71 // Load the template 91 /** 92 * Filters the template file path to use for the capabilities settings screen. 93 * 94 * @since BuddyPress (1.6.0) 95 * 96 * @param string $value Directory path to look in for the template file. 97 */ 72 98 bp_core_load_template( apply_filters( 'bp_settings_screen_capabilities', 'members/single/settings/capabilities' ) ); 73 99 }
Note: See TracChangeset
for help on using the changeset viewer.