“add_filter( ‘show_admin_bar’..” not working | WordPress.org

Greetings! I cant get rid of the toolbar at the top for my users when they’re logged into my page (or in general – I’d like it gone across the board).

I’ve tried using the search function but couldnt find the results I’m looking for. Adding the code:
add_filter( 'show_admin_bar', '__return_false' );
at the end of my functions.php file has yielded no results.

I cant find code to remove a “toolbar” instead :(.

If anyone could help, that would be astounding. I really appreciate it!

  • This topic was modified 21 hours, 9 minutes ago by Nawabi.

Source link