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() ) {
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