How to rename the Advanced Custom Fields (ACF) menu item – change the ACF menu back to ‘Custom Fields’.

Advanced Custom Fields just released an update that includes generators for Custom Post Types and Taxonomies. As a result, the admin menu wording has been altered to simply ‘ACF’. Whilst this makes sense (it’s no longer merely custom fields), many people like the original “Custom Fields” phrasing. Never fear, here’s how to reverse it:

function rename_acf_menu_item() {
    global $menu;
    $new_acf_label = __('Custom Fields', 'your-textdomain');

    foreach ( $menu as $key => $value ) {
        if ( 'edit.php?post_type=acf-field-group' === $value[2] ) {
            $menu[$key][0] = $new_acf_label;
            break;
        }
    }
}
add_action( 'admin_menu', 'rename_acf_menu_item', 999 );

Simply add this code to your theme’s (or child theme’s) functions.php file or create a mini custom plugin. Enjoy!