get('multisite'); $link = URE_Settings::get_settings_link(); if (!$multisite || (is_main_site( get_current_blog_id() ) || ( is_network_admin() && $lib->is_super_admin() ) ) ) { if ( current_user_can( 'ure_reset_roles' ) ) { ?>

Reset User Roles

  '; esc_html_e('If any plugins (such as WooCommerce, S2Member and many others) have changed user roles and capabilities during installation, those changes will be LOST!', 'user-role-editor'); echo '
'; esc_html_e('For more information on how to undo undesired changes and restore plugins capabilities in case you lost them by mistake go to: ', 'user-role-editor'); echo 'http://role-editor.com/how-to-restore-deleted-wordpress-user-roles/'; if ( $multisite ) { ?>

()

reset_user_roles() ) { return; } $lib = URE_Lib::get_instance(); $lib->put_option( 'other_default_roles', array(), true ); $lib->show_message( esc_html__('Tools: Reset: User Roles were initialized', 'user-role-editor') ); } // end of reset_roles() public static function show( $tab_idx ) { do_action( 'ure_settings_tools_show', $tab_idx ); // Placed here, after all tools which may be added above, as a very rare needed functionality self::show_reset_roles( $tab_idx ); } // end of show() } // end of URE_Tools