Admin Bar De-activation
I added this code to wp-content/mytheme/functions.php
add_filter( ‘show_admin_bar’ , ‘my_function_admin_bar’);
To disable the admin bar and the css is not loading anymore when Total Cache is activated.
When I de activate Total Cache everything is working as normal.
What is wrong the code added?
- The topic ‘Admin Bar De-activation’ is closed to new replies.