wc_update_344_recreate_roles()
Recreate user roles so existing users will get the new capabilities.
Description Description
Return Return
(void)
Source Source
File: includes/wc-update-functions.php
function wc_update_344_recreate_roles() {
WC_Install::remove_roles();
WC_Install::create_roles();
}