acf/update_value

acf/update_value

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/update_value') is found 1 times:

  • /includes/acf-value-functions.php line 216
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    * @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 );
    }