WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Can't get rid of user roles on uninstall

Can't get rid of user roles on uninstall

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here. Quick fix please

    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' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get rid of user roles on uninstall’ is closed to new replies.
Skip to toolbar