acf/rest/format_value_for_rest
acf/rest/format_value_for_rest
Appears in: advanced-custom-fields.5.12.2
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.5.12.2apply_filters('acf/rest/format_value_for_rest') is found 1 times:
- /includes/rest-api/acf-rest-api-functions.php line 87
Warning: Undefined array key 90 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 91 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 92 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
* @param array $field The field array. * @param mixed $value The raw/unformatted value. * @param string $format The format applied to the field value. */ return apply_filters( 'acf/rest/format_value_for_rest', $value_formatted, $post_id, $field, $value, $format ); } acf_add_filter_variations( 'acf/rest/format_value_for_rest', array( 'type', 'name', 'key' ), 2 );