wc_update_344_recreate_roles() WC 1.0
Recreate user roles so existing users will get the new capabilities.
No Hooks.
Return
null.
Usage
wc_update_344_recreate_roles();
Code of wc_update_344_recreate_roles() wc update 344 recreate roles WC 5.0.0
function wc_update_344_recreate_roles() {
WC_Install::remove_roles();
WC_Install::create_roles();
}