The ACF menu only shows to admin users by default. To display the ACF ‘Custom Fields’ menu to other WP roles you’ll need to use the ‘acf/settings/capability’ filter.

‘acf/settings/capability’ filter

This allows you to customize the ‘capability’ needed to show the ACF ‘Custom Fields’ menu item (not the options page feature).

The value of this ‘capability’ setting is used to register the ACF menu item via the add_menu_page() function.

Add the code below to your functions file to show the ACF menu for editors. Use the WordPress Roles and Capabilities Codex page to work out which capability to use.

Editors (and above) can edit_pages, authors can’t.


Allow Editors to Create Custom Fields

// Allow editors to use ACF
function my_acf_settings_capability( $capability ) {
    return 'edit_pages';
add_filter('acf/settings/capability', __NAMESPACE__ . '\\my_acf_settings_capability');

I hope that helps. The namespace part of the code is used by WordPress sites built with Sage.

The ACF menu should now appear for editors.

ACF menu

Leave a comment