enter image description here

I did attempt to block the admin bar from being shown to wishlist members but this kicked me out of the site and now I am not able to get back in to remove this function from the site. If anyone knows how I can bypass this to gain access and remove this from my WP site.

// show admin bar only for admins and editors
if (!current_user_can(‘edit_posts’)) {
add_filter(‘show_admin_bar’, ‘__return_false’);
}

Read more here: Cant login to WP


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: