}$menu[75
] = array
( __( 'Tools'
), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'dashicons-admin-tools'
);
$submenu['tools.php'
][5
] = array
( __( 'Available Tools'
), 'edit_posts', 'tools.php'
);
$submenu['tools.php'
][10
] = array
( __( 'Import'
), 'import', 'import.php'
);
$submenu['tools.php'
][15
] = array
( __( 'Export'
), 'export', 'export.php'
);
/* translators: %s: Number of critical Site Health checks. */
$submenu['tools.php'
][20
] = array
( sprintf( __( 'Site Health %s'
),
$site_health_count ), 'view_site_health_checks', 'site-health.php'
);
$submenu['tools.php'
][25
] = array
( __( 'Export Personal Data'
), 'export_others_personal_data', 'export-personal-data.php'
);
$submenu['tools.php'
][30
] = array
( __( 'Erase Personal Data'
), 'erase_others_personal_data', 'erase-personal-data.php'
);
if ( is_multisite() && !
is_main_site() ) { $submenu['tools.php'
][35
] = array
( __( 'Delete Site'
), 'delete_site', 'ms-delete-site.php'
);
}if ( !
is_multisite() &&
defined( 'WP_ALLOW_MULTISITE'
) && WP_ALLOW_MULTISITE
) { $submenu['tools.php'
][50
] = array
( __( 'Network Setup'
), 'setup_network', 'network.php'
);
}$menu[80
] = array
( __( 'Settings'
), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings'
);
$submenu['options-general.php'
][10
] = array
( _x( 'General', 'settings screen'
), 'manage_options', 'options-general.php'
);
$submenu['options-general.php'
][15
] = array
( __( 'Writing'
), 'manage_options', 'options-writing.php'
);
$submenu['options-general.php'
][20
] = array
( __( 'Reading'
), 'manage_options', 'options-reading.php'
);
$submenu['options-general.php'
][25
] = array
( __( 'Discussion'
), 'manage_options', 'options-discussion.php'
);