I'm trying to remove the export.php page from WordPress admin menu -> tools for a multisite so only the network admin could see it
I have the following code so far but can't get it to work.
//***************************************************
// Remove export Page
//***************************************************
function remove_menu_export_pages() {
remove_menu_page('export.php');
}
add_action( 'admin_init', 'remove_menu_export_pages' );
How can I solve this?