Remove item from Dashboard menu
WordPress Admin Area Customization
You can use this snippet to remove the item from WordPress admin dashboard…just replace file URL to match your case:
function remove_acf_menu() {
remove_menu_page('edit.php?post_type=acf');
}
add_action( 'admin_menu', 'remove_acf_menu', 999);
You should add this code to your theme functions.php file.





No comments