Changeset 4631 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 07/09/2011 07:24:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r4630 r4631 1235 1235 } 1236 1236 1237 /** 1238 * Should we use the WP admin bar? 1239 * 1240 * The WP Admin Bar, introduced in WP 3.1, is fully supported in BuddyPress as of BP 1.3. 1241 * 1242 * For the BP 1.3 development cycle, the BuddyBar will remain the default navigation for BP 1243 * installations. In the future, this behavior will be changed, so that the WP Admin Bar is the 1244 * default. 1245 * 1246 * @package BuddyPress 1247 * @since 1.3 1248 * 1249 * @uses apply_filters() Filter 'bp_use_wp_admin_bar' to alter 1250 * @return bool False when WP Admin Bar support is disabled (default); true when enabled 1251 */ 1252 function bp_use_wp_admin_bar() { 1253 return apply_filters( 'bp_use_wp_admin_bar', defined( 'BP_USE_WP_ADMIN_BAR' ) && BP_USE_WP_ADMIN_BAR ); 1254 } 1255 1237 1256 /** Global Manipulators *******************************************************/ 1238 1257
Note: See TracChangeset
for help on using the changeset viewer.