acf/rest/get_field_links
acf/rest/get_field_links
Appears in: advanced-custom-fields.6.2.1
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.1apply_filters('acf/rest/get_field_links') is found 1 times:
- /includes/rest-api/acf-rest-api-functions.php line 55
* @param string|int $post_id * @param array $field * @param mixed $value */ return (array) apply_filters( 'acf/rest/get_field_links', $links, $post_id, $field, $value ); } acf_add_filter_variations( 'acf/rest/get_field_links', array( 'type', 'name', 'key' ), 2 ); /** * Format a given field's value for output in the REST API.