airesvsg/acf-to-rest-api-recursive

Get ACF fields recursively

Installs: 2 446

Dependents: 0

Suggesters: 0

Security: 0

Stars: 44

Watchers: 1

Forks: 7

Open Issues: 9

Type:wordpress-plugin

pkg:composer/airesvsg/acf-to-rest-api-recursive

dev-master 2019-02-28 12:54 UTC

This package is auto-updated.

Last update: 2025-10-12 09:36:56 UTC


README

Get ACF Fields Recursively

Installation

  1. Copy the acf-to-rest-api-recursive folder into your wp-content/plugins folder
  2. 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;
} );