acf/pre_format_value
acf/pre_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/pre_format_value') is found 1 times:
- /includes/acf-value-functions.php line 147143144145146147148149150151152153
*/
function
acf_format_value(
$value
,
$post_id
,
$field
,
$escape_html
= false ) {
// Allow filter to short-circuit load_value logic.
$check
= apply_filters(
'acf/pre_format_value'
, null,
$value
,
$post_id
,
$field
,
$escape_html
);
if
(
$check
!== null ) {
return
$check
;
}
// Get field name.
$field_name
=
$field
[
'name'
];