bp_admin_setting_callback_admin_admin_bar()

Admin bar for admin users setting field.

Description

Source

File: bp-core/admin/bp-core-admin-settings.php

function bp_admin_setting_callback_admin_admin_bar() {
	?>

    <input id="show-admin-adminbar" name="show-admin-adminbar" type="checkbox" value="1" <?php checked( bp_show_admin_adminbar( true ) ); ?> />
    <label for="show-admin-adminbar"><?php _e( 'Show the Toolbar for logged-in admins', 'buddyboss' ); ?></label>

	<?php
}

Changelog

Changelog
Version Description
BuddyBoss 1.1.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.