I want to change some custom WooCommerce checkout fields (created by a checkout plugin) and these are stored as original WordPress custom fields.
But because I have installed the Advanced Custom Fields plugin, the original Custom Fields tab is gone.
I tried to add the following code to my function.php without any result:
add_filter('acf/settings/remove_wp_meta_box', '__return_false');
Just to be sure I deactivated the ACF Pro plugin to be 100% sure this was the issue and the tabs where back 🙂
Anyone an other idea to get the original Custom Fields tab back?
2
Answers
Your priority might not be enough. Try like this.
EDIT
Please try to initialize ACF with this code
In my case, I was registering a custom post type without declaring support for
custom-fields
. The other answers would have worked for standard pages.Obviously you would need to adapt this this to your custom post type