Yardımlarınız için teşekkürler arkadaşlar
Azcıktan bi tık fazla araştırmayla biraz saçma bir yöntemi buldum
functions.php ye
function restrict_admin_with_redirect() {
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/widgets.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/user-new.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/upgrade-functions.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/upgrade.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/theme-install.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/theme-editor.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/setup-config.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/plugins.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/plugin-install.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-writing.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-reading.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-privacy.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-permalink.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-media.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-head.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-general.php.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options-discussion.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/options.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/network.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-users.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-upgrade-network.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-themes.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-sites.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-options.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-edit.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-delete-site.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/ms-admin.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/moderation.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/menu-header.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/menu.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/edit-tags.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/edit-tag-form.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/edit-link-form.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/edit-comments.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/credits.php'){ wp_redirect(admin_url() ); exit; }
if (!current_user_can('manage_network') && $_SERVER['PHP_SELF'] == '/wp-admin/about.php'){ wp_redirect(admin_url() ); exit; }
}
add_action('admin_init', 'restrict_admin_with_redirect');