php - How to expose all the ACF fields to Wordpress REST API in both pages and custom postypes - Stack Overflow
Wed Nov 30 2022 17:21:52 GMT+0000 (Coordinated Universal Time)
Saved by @nataliaferraz #php #wp #acf #rest
add this to any special page rest_prepare_page or rest_prepare_post.
https://stackoverflow.com/questions/56473929/how-to-expose-all-the-acf-fields-to-wordpress-rest-api-in-both-pages-and-custom
Comments