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)


Top ↑

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 ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 This function has been deprecated.
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.