Delete User Capabilities

4.27K viewsWordPress
0

Hello,

I tried using your beta version to delete the anspress capabilities installed in the database, but it didn’t work for me. Can you advise a work-around? Maybe using phpmyadmin or functions.php? I didn’t install the plugin, an employee did without consulting me, and I just want to get rid of it, no shade on you.

Thanks

0

I have added that to functions.php while the plugin is active, but the capabilities are still visible via the “User Role Editor” plugin

commented on answer

I will check and update you in few hours.

0

You can simply call this function in your theme:

AP_Roles::remove_roles();

Make sure AnsPress is active while calling this method.