This function has been deprecated. BuddyPress 2.1.0 instead.

bp_admin_setting_callback_force_buddybar()

If user has upgraded to 1.6 and chose to retain their BuddyBar, offer then a switch to change over to the WP Toolbar.

Description

Source

File: bp-core/deprecated/buddypress/2.1.php

function bp_admin_setting_callback_force_buddybar() {
?>

	<input id="_bp_force_buddybar" name="_bp_force_buddybar" type="checkbox" value="1" <?php checked( ! bp_force_buddybar( true ) ); ?> />
	<label for="_bp_force_buddybar"><?php _e( 'Switch to WordPress Toolbar', 'buddyboss' ); ?></label>

<?php
}

Changelog

Changelog
Version Description
BuddyPress 2.1.0 BuddyPress 2.1.0
BuddyPress 1.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.