manifest / integrations / acf-to-rest-api-recursive
ACF to REST API Recursive
Get ACF fields recursively
★ 44stars
2.5kcomposer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/airesvsg/acf-to-rest-api-recursive/archive/refs/heads/master.zipOn Packagist as airesvsg/acf-to-rest-api-recursive:
composer require airesvsg/acf-to-rest-api-recursiveNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Get ACF Fields Recursively
Installation
- Copy the
acf-to-rest-api-recursivefolder into yourwp-content/pluginsfolder - Activate the
ACF to REST API Recursiveplugin 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;
} );