We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9150364 commit 855cbd9Copy full SHA for 855cbd9
mu-plugins/blocks/global-header-footer/admin-bar.php
@@ -9,6 +9,7 @@
9
/* Actions & filters */
10
add_action( 'admin_bar_menu', __NAMESPACE__ . '\filter_admin_bar_links', 10000 ); // 10000 to run after all items are added to the menu.
11
add_filter( 'show_admin_bar', __NAMESPACE__ . '\should_show_admin_bar' );
12
+add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_inline_css' );
13
14
/**
15
* Hide the admin bar for logged out users.
@@ -139,3 +140,10 @@ function filter_admin_bar_links( $wp_admin_bar ) {
139
140
}
141
142
143
+
144
+function enqueue_inline_css() {
145
+ wp_add_inline_style(
146
+ 'admin-bar',
147
+ '#wpadminbar #wp-admin-bar-edit-actions .ab-item::before { content: "" !important; }'
148
+ );
149
+}
0 commit comments