Warning: This function has been deprecated.
bp_force_buddybar()
Should the old BuddyBar be forced in place of the WP admin bar?
Description Description
We deprecated the BuddyBar in v2.1.0, but have completely removed it in v8.0.
Return Return
(bool)
Source Source
File: bp-core/deprecated/8.0.php
function bp_force_buddybar( $default = true ) { /** * Filters whether or not BuddyBar should be forced in place of WP Admin Bar. * * @since 1.6.0 * * @param bool $value Whether or not BuddyBar should be forced in place of WP Admin Bar. */ return (bool) apply_filters( 'bp_force_buddybar', (bool) bp_get_option( '_bp_force_buddybar', $default ) ); }
Changelog Changelog
Version | Description |
---|---|
8.0.0 | This function has been deprecated. |
1.6.0 | Introduced. |