Changeset 10108 for trunk/src/bp-core/admin/bp-core-admin-settings.php
- Timestamp:
- 09/13/2015 02:02:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-settings.php
r10012 r10108 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Admin Settings. … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 14 13 * Main settings section description for the settings page. 15 14 * 16 * @since BuddyPress (1.6.0)15 * @since 1.6.0 17 16 */ 18 17 function bp_admin_setting_callback_main_section() { } … … 21 20 * Admin bar for logged out users setting field. 22 21 * 23 * @since BuddyPress (1.6.0)22 * @since 1.6.0 24 23 * 25 24 * @uses bp_form_option() To output the option value. … … 37 36 * Allow members to delete their accounts setting field. 38 37 * 39 * @since BuddyPress (1.6.0)38 * @since 1.6.0 40 39 * 41 40 * @uses checked() To display the checked attribute. … … 55 54 * Groups settings section description for the settings page. 56 55 * 57 * @since BuddyPress (1.6.0)56 * @since 1.6.0 58 57 */ 59 58 function bp_admin_setting_callback_activity_section() { } … … 62 61 * Allow Akismet setting field. 63 62 * 64 * @since BuddyPress (1.6.0)63 * @since 1.6.0 65 64 * 66 65 * @uses checked() To display the checked attribute. … … 78 77 * Allow activity comments on blog posts and forum posts. 79 78 * 80 * @since BuddyPress (1.6.0)79 * @since 1.6.0 81 80 */ 82 81 function bp_admin_setting_callback_blogforum_comments() { … … 92 91 * Allow Heartbeat to refresh activity stream. 93 92 * 94 * @since BuddyPress (2.0.0)93 * @since 2.0.0 95 94 */ 96 95 function bp_admin_setting_callback_heartbeat() { … … 110 109 * function to flip the boolean before saving the intval. 111 110 * 112 * @since BuddyPress (1.6.0)111 * @since 1.6.0 113 112 * 114 113 * @param bool $value … … 125 124 * Profile settings section description for the settings page. 126 125 * 127 * @since BuddyPress (1.6.0)126 * @since 1.6.0 128 127 */ 129 128 function bp_admin_setting_callback_xprofile_section() { } … … 132 131 * Enable BP->WP profile syncing field. 133 132 * 134 * @since BuddyPress (1.6.0)133 * @since 1.6.0 135 134 * 136 135 * @uses bp_form_option() To output the option value. … … 148 147 * Allow members to upload avatars field. 149 148 * 150 * @since BuddyPress (1.6.0)149 * @since 1.6.0 151 150 * 152 151 * @uses checked() To display the checked attribute. … … 166 165 * Groups settings section description for the settings page. 167 166 * 168 * @since BuddyPress (1.6.0)167 * @since 1.6.0 169 168 */ 170 169 function bp_admin_setting_callback_groups_section() { } … … 173 172 * Allow all users to create groups field. 174 173 * 175 * @since BuddyPress (1.6.0)174 * @since 1.6.0 176 175 * 177 176 * @uses checked() To display the checked attribute. … … 190 189 * 'Enable group avatars' field markup. 191 190 * 192 * @since BuddyPress (2.3.0)191 * @since 2.3.0 193 192 */ 194 193 function bp_admin_setting_callback_group_avatar_uploads() { … … 204 203 * Forums settings section description for the settings page. 205 204 * 206 * @since BuddyPress (1.6.0)205 * @since 1.6.0 207 206 */ 208 207 function bp_admin_setting_callback_bbpress_section() { } … … 211 210 * bb-config.php location field. 212 211 * 213 * @since BuddyPress (1.6.0)212 * @since 1.6.0 214 213 * @uses checked() To display the checked attribute. 215 214 * @uses bp_get_option() To get the config location. … … 240 239 * The main settings page 241 240 * 242 * @since BuddyPress (1.6.0)241 * @since 1.6.0 243 242 * 244 243 * @uses screen_icon() To display the screen icon. … … 277 276 * Save our settings. 278 277 * 279 * @since BuddyPress (1.6.0)278 * @since 1.6.0 280 279 */ 281 280 function bp_core_admin_settings_save() { … … 324 323 * Output settings API option. 325 324 * 326 * @since BuddyPress (1.6.0)325 * @since 1.6.0 327 326 * 328 327 * @uses bp_get_bp_form_option() … … 338 337 * Return settings API option 339 338 * 340 * @since BuddyPress (1.6.0)339 * @since 1.6.0 341 340 * 342 341 * @uses bp_get_option() … … 361 360 * Filters the slug value in the form field. 362 361 * 363 * @since BuddyPress (1.6.0)362 * @since 1.6.0 364 363 * 365 364 * @param string $value Value being returned for the requested option. … … 377 376 * Filters the settings API option. 378 377 * 379 * @since BuddyPress (1.6.0)378 * @since 1.6.0 380 379 * 381 380 * @param string $value Value being returned for the requested option.
Note: See TracChangeset
for help on using the changeset viewer.