Why is the post meta[] empty when I make a call to the wordpress rest api?
Firstly, your question mentions the REST API, but you don’t actually appear to be using the REST API. You’re using admin-ajax.php. It’s an important difference in the context of your question. Secondly, get_field_objects() function is an ACF function that gets data about the ACF fields. Not the meta, the literal fields created by ACF. So … Read more