Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: What is the correct way to alter the admin-bar.css


r-a-y
Keymaster

@r-a-y

Thanks 21cdb, the magical “plugins_loaded” is what I need to know!

About your problem, maybe try using the boolean $doing_admin_bar that you’re using and use and if-else statement to call the custom CSS only when it is true in your my_admin_bar_css() function?

Skip to toolbar