Cant login to WP

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

Leave a Reply

Your email address will not be published. Required fields are marked *