Changeset 8568 for trunk/src/bp-core/bp-core-options.php
- Timestamp:
- 07/09/2014 04:43:00 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-options.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-options.php
r8553 r8568 519 519 function bp_restrict_group_creation( $default = true ) { 520 520 return (bool) apply_filters( 'bp_restrict_group_creation', (bool) bp_get_option( 'bp_restrict_group_creation', $default ) ); 521 }522 523 /**524 * Should the old BuddyBar be forced in place of the WP admin bar?525 *526 * @since BuddyPress (1.6.0)527 *528 * @uses bp_get_option() To get the BuddyBar option.529 *530 * @param bool $default Optional. Fallback value if not found in the database.531 * Default: true.532 * @return bool True if the BuddyBar should be forced on, otherwise false.533 */534 function bp_force_buddybar( $default = true ) {535 return (bool) apply_filters( 'bp_force_buddybar', (bool) bp_get_option( '_bp_force_buddybar', $default ) );536 521 } 537 522
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)