[ad_1]
[ad_2]
So i dont know how this is happening, but eventhough ive disabled the option to see the toolbar for subscribers on the website, they can still see it, ive tried also using a plugin and code, but none seem to work, any help?
Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Try with a theme function snippet:
add_action(‘after_setup_theme’, ‘remove_admin_bar’);
function remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()) {
show_admin_bar(false);
}
}
You can add the code with this plugin for easier management:
[https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/)