Delete User Capabilities

4.29K 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

You can simply call this function in your theme:

AP_Roles::remove_roles();

Make sure AnsPress is active while calling this method.

You are viewing 1 out of 2 answers, click here to view all answers.