acf/rest/format_value_for_rest
acf/rest/format_value_for_rest
Appears in: advanced-custom-fields.6.2.7
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.7apply_filters('acf/rest/format_value_for_rest') is found 1 times:
- /includes/rest-api/acf-rest-api-functions.php line 86
Warning: Undefined array key 89 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
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
* @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 );