bp_core_load_admin_bar_css()
Handle the enqueueing of toolbar CSS.
Description
This function exists mostly for backwards compatibility reasons, so anyone previously unhooking this function can continue to do so. It’s hooked to the bp_init
action in bp-core-actions.php
.
Source
File: bp-core/bp-core-adminbar.php
function bp_core_load_admin_bar_css() { add_action( 'bp_enqueue_scripts', 'bp_core_enqueue_admin_bar_css', 1 ); add_action( 'bp_admin_enqueue_scripts', 'bp_core_enqueue_admin_bar_css', 1 ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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.