Warning: This function has been deprecated.
bp_admin_sanitize_callback_force_buddybar( $value = false )
Sanitization for _bp_force_buddybar
Description Description
If upgraded to 1.6 and you chose to keep the BuddyBar, a checkbox asks if you want to switch to the WP Toolbar. The option we store is 1 if the BuddyBar is forced on, so we use this function to flip the boolean before saving the intval.
Source Source
File: bp-core/deprecated/2.1.php
function bp_admin_sanitize_callback_force_buddybar( $value = false ) { return $value ? 0 : 1; }
Changelog Changelog
Version | Description |
---|---|
2.1.0 | This function has been deprecated. |
1.6.0 | Introduced. |