ACF_Rest_Api


目录

Properties

$request

$rest_update_plan

Fields and updates resolved during the current REST request.

Methods

register_field

Register our custom property as a REST field.

get_schema

Dynamically generate the schema for the current request.

validate_rest_arg

Validate the request args. Mostly a wrapper for rest_validate_request_arg(), but also fires off a filter, so we can add some custom validation for specific fields.

load_fields

Load field values into the requested object. This method is not a part of any public API and is only public as it is required by WordPress.

check_bidirectional_target_permissions

Check bidirectional target permissions before the REST callback runs.

prepare_field_updates

Resolve incoming values against fields active for the REST object.

update_fields

Update any incoming field values for the given object. This method is not a part of any public API and is only public as it is required by WordPress.

make_identifier

Make the ACF identifier string for the given object.

object_type_has_field_group

Gets an array of the location types that a field group is configured to use.

get_field_groups_by_object_type

Get all field groups for the provided object type.

get_field_groups_by_id

Get all field groups for a given object.

get_fields

Get all ACF fields for a given field group and allow third party filtering.


版本号 #2
由 壳壳虫 创建于 2026-08-29 14:50:46 UTC
由 壳壳虫 更新于 2026-08-29 14:50:46 UTC