Awesome
ACF to REST API Recursive
Get ACF Fields Recursively
Installation
- Copy the
acf-to-rest-api-recursive
folder into yourwp-content/plugins
folder - Activate the
ACF to REST API Recursive
plugin via the plugin admin page
Filters
Filter | Argument(s) |
---|---|
acf/rest_api/recursive/types | array $types |
How to use:
add_filter( 'acf/rest_api/recursive/types', function( $types ) {
if ( isset( $types['post'] ) ) {
unset( $types['post'] );
}
return $types;
} );