WooCommerce - excelling eCommerce
Can't get rid of user roles on uninstall (3 posts)

  1. Justin Handley
    Posted 1 year ago #

    When I uninstall woocommerce, it leaves the user roles in place, and I can't figure out how to get rid of them. They are not allowing someone who is an admin to actually administrate the site as she is also set to shop manager. How can I delete these user roles?


  2. david_kly
    Posted 1 year ago #

    Same here. Quick fix please

  3. Justin Handley
    Posted 1 year ago #

    I can't remember how I did his - it was a while ago, but you can always delete roles manually..

    function sf_remove_role() {
        remove_role( 'author' );
    add_action( 'init', 'sf_remove_role' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic