Code Element Ha

Hide ACF Menu in WordPress Admin

You can hide the ACF menu in WordPress Admin with the following filter hooks:

/**
 * Hide ACF Menu for non-admins
 */
add_filter('acf/settings/show_admin', function ($show) {
    return current_user_can('manage_options');
});

/**
 * Hide ACF for All Users
 */
add_filter('acf/settings/show_admin', '__return_false');