acf/rest/get_field_links
acf/rest/get_field_links
Appears in: advanced-custom-fields.6.3.6.3
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.6.3apply_filters('acf/rest/get_field_links') is found 1 times:
- /includes/rest-api/acf-rest-api-functions.php line 555152535455565758596061
* @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.