bp_show_hide_toolbar()

Show/Hide WordPress toolbar based on the plugin settings.

Description

BuddyBoss > Settings > General > General Settings.

Source

File: bp-core/bp-core-template-loader.php

		} else {
			add_filter( 'show_admin_bar', '__return_false' );
		}
	} else {
		if ( false === bp_hide_loggedout_adminbar() ) {
			add_filter( 'show_admin_bar', '__return_true' );
		}
	}

}

Changelog

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