bp_core_enqueue_admin_bar_css()
Enqueue supplemental WordPress Toolbar styling.
Description
See also
Source
File: bp-core/bp-core-adminbar.php
function bp_core_enqueue_admin_bar_css() {
// Bail if not using WordPress's admin bar or it's not showing on this
// page request.
if ( ! bp_use_wp_admin_bar() || ! is_admin_bar_showing() ) {
return;
}
// Enqueue the additional adminbar css.
wp_enqueue_style( 'bp-admin-bar' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.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.