• Resolved Jo Landers

    (@jojolanderscom)


    Tried the plugin out. Premise is good, but it wasn’t quite what I needed for this particular client. Uninstalled, but I seem to be stuck with 2 custom roles I can’t get rid of, and using remove_role to clean up isn’t working, even when the roles aren’t assigned to anyone. This will confuse my client, so any suggestions would be great. These are the roles and the code (in my theme functions file) I used to try and remove them.
    remove_role( 'MBMMaster Librarian' );
    remove_role( 'MBM Librarian' );

    https://ww.wp.xz.cn/plugins/mooberry-book-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    This code should work:

    remove_role('mbdb_librarian');
    remove_role('mbdb_master_librarian');

    Thanks for the message. I’ll be sure to add this in the uninstall in the next update.

    Thread Starter Jo Landers

    (@jojolanderscom)

    Thank you, that did the trick!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Uninstall does not remove custom roles’ is closed to new replies.