acf/format_value
acf/format_value
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/format_value') is found 1 times:
- /includes/acf-value-functions.php line 172168169170171172173174175176177178
* @param string
$post_id
The post ID
for
this value.
* @param
array
$field
The field
array
.
* @param boolean
$escape_html
Ask the field
for
a HTML safe version of it's output.
*/
$value
= apply_filters(
'acf/format_value'
,
$value
,
$post_id
,
$field
,
$escape_html
);
// Update store.
$store
->set(
$cache_name
,
$value
);
// Return value.
return
$value
;