bp_admin_setting_callback_admin_bar()
Admin bar for logged out users setting field.
Description
Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_admin_setting_callback_admin_bar() { ?> <input id="hide-loggedout-adminbar" name="hide-loggedout-adminbar" type="checkbox" value="1" <?php checked( !bp_hide_loggedout_adminbar( false ) ); ?> /> <label for="hide-loggedout-adminbar"><?php _e( 'Show the Toolbar for logged out users', 'buddyboss' ); ?></label> <?php }
Changelog
Version | Description |
---|---|
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.