acf/update_value
acf/update_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/update_value') is found 1 times:
- /includes/acf-value-functions.php line 216212213214215216217218219220221
* @param string
$post_id
The post ID
for
this value.
* @param
array
$field
The field
array
.
* @param mixed
$original
The original value before modification.
*/
$value
= apply_filters(
'acf/update_value'
,
$value
,
$post_id
,
$field
,
$value
);
// Allow null to delete value.
if
(
$value
=== null ) {
return
acf_delete_value(
$post_id
,
$field
);
}