Support » Plugin: Advanced Custom Fields » Fix for the missing WP Custom Data Fields – Filter

  • Since I just ran into this ‘new feature’ problem today for first time, and found the filter hook to add to functions in the support section; I thought I would repost this here for other like me having a WTF moment.

    In our case where we have hacked WP into a custom CMS news and syndication platform, we have some WP specific custom fields separate from ACF — and I needed to edit one of those today due to having to kill a post and repost to get a different story unique ID, and the fields were gone and unable to make visible from the visibility options.

    Sigh. This was almost as intrusive as the hideous Yoast warnings now popping up every time one resaves permalinks or deletes a post (having used WP longer than most of these plugin makers knew what WP was, this is starting to get both annoying and troublesome by effectively breaking or rewriting WP elements not asked for).

    IN ANY CASE: this is the code to bring back the visibility toggle for WP custom fields, when added to a custom plugin or to theme functions file.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks a heap for this, it has been driving me crazy looking for a solution!

    So simple…

    That was an absolute life saver. I’m using ACF with USP Pro sharing both standard WordPress Custom Fields and ACF fields, and it’s impossible to use one with the other with the former missing.

    Thanks again!

    This was clutch. Thanks for posting your solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fix for the missing WP Custom Data Fields – Filter’ is closed to new replies.