Delete User Capabilities
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
I have added that to functions.php while the plugin is active, but the capabilities are still visible via the “User Role Editor” plugin
Rahul Aryan commented on answer
You can simply call this function in your theme:
AP_Roles::remove_roles();
Make sure AnsPress is active while calling this method.
I will check and update you in few hours.