bp_admin_setting_callback_login_admin_bar()

Admin bar for logged in users setting field.

Description

Source

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

function bp_admin_setting_callback_login_admin_bar() {
	?>

	<input id="show-login-adminbar" name="show-login-adminbar" type="checkbox" value="1" <?php checked( bp_show_login_adminbar( true ) ); ?> />
	<label for="show-login-adminbar"><?php _e( 'Show the Toolbar for logged in members', '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.