Changeset 9544
- Timestamp:
- 02/24/2015 03:04:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-components.php
r9517 r9544 15 15 * 16 16 * @package BuddyPress 17 * @since BuddyPress (1.6 )17 * @since BuddyPress (1.6.0) 18 18 * @uses bp_core_admin_component_options() 19 19 */ … … 45 45 * 46 46 * @package BuddyPress 47 * @since BuddyPress (1.6 )47 * @since BuddyPress (1.6.0) 48 48 * @todo Use settings API 49 49 */ … … 52 52 // Declare local variables 53 53 $deactivated_components = array(); 54 55 /** 56 * Filters the array of available components. 57 * 58 * @since BuddyPress (1.5.0) 59 * 60 * @param mixed $value Active components. 61 */ 54 62 $active_components = apply_filters( 'bp_active_components', bp_get_option( 'bp-active-components' ) ); 55 63 … … 228 236 * Handle saving the Component settings 229 237 * 230 * @since BuddyPress (1.6 )238 * @since BuddyPress (1.6.0) 231 239 * @todo Use settings API when it supports saving network settings 232 240 */ … … 287 295 * ones. 288 296 * 289 * @since (BuddyPress) 1.7297 * @since BuddyPress (1.7.0) 290 298 * 291 299 * @param array This is the array of component settings coming from the POST … … 332 340 * well as to do some processing on settings data submitted from those screens. 333 341 * 334 * @since (BuddyPress) 1.7342 * @since BuddyPress (1.7.0) 335 343 * 336 344 * @param string $type 'all', 'optional', 'retired', 'required' … … 422 430 } 423 431 432 /** 433 * Filters the list of component information. 434 * 435 * @since BuddyPress (2.0.0) 436 * 437 * @param array $components Array of component information. 438 * @param string $type Type of component list requested. 439 * Possible values include 'all', 'optional', 440 * 'retired', 'required'. 441 */ 424 442 return apply_filters( 'bp_core_admin_get_components', $components, $type ); 425 443 }
Note: See TracChangeset
for help on using the changeset viewer.