WordPress Custom Fields Missing When ACF is Active

When the plugin ACF or ACF Pro 5.6.0 is active the native WordPress Custom Fields on post, pages or CPTs is not visible and gone missing. If you disable the ACF plugin the custom fields are visible again.

acf-wordpress-missing-custom-fields

The functionality to hide the WordPress custom fields was introduced in ACF version 5.5.13 but then made default in 5.6.0, it was made default to speed up the page speed  load of the admin edit page/post screen.

To reverse this behaviour you can add in your functions.php

 add_filter('acf/settings/remove_wp_meta_box', '__return_false');

Now the custom fields will be visible again.

3 Comments

  1. Paul Lacey on September 16, 2017 at 11:47 pm

    Thank you, I needed this just last week on a site where I had used the *Custom Code* plugin (to embed ISSUU embed code into a BB page where the Firewall was blocking unfiltered HTML on the front end.
    Adding this to the site, and to my Gists. Thanks (again!)

  2. Patrick Fortino on September 16, 2017 at 4:23 pm

    Thanks!. I had the same problem with custom fields from another plugin. Couldn’t figure out why I couldn’t see them if ACF was active.

    • Neil Gowran on September 16, 2017 at 11:48 pm

      Yep stumped me for a while

Leave a Comment





%d bloggers like this: