Okay, I have a plugin installed that creates posts in a specified custom post type that I use with ACF Pro.
It creates postmeta, but it doesn’t create the ACF specific postmeta. The problem is that get_fields()
only returns postmeta created using ACF. So the postmeta created by this plugin is not being returned by get_fields()
.
I need a way generic function for creating ACF postmeta for a post not created through ACF.
Is it as simple as calling get_post_meta()
to get all keys and then just running through update_field()
?