Remove item from Dashboard menu

Jun 24, 2015
admin

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

Leave a Reply

Your email address will not be published. Required fields are marked *