Answers for "remove admin bar for wp-admin pages also"

1

disable admin bar wordpress

/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );
Posted by: Guest on March-02-2021
0

remove admin bar wordpress front end

/* Disable WordPress Admin Bar for all users */
add_filter( 'show_admin_bar', '__return_false' );
Posted by: Guest on January-25-2021

Browse Popular Code Answers by Language