acf/pre_update_value

acf/pre_update_value

Hook Type: filter

See hook in core

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

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

  • /includes/acf-value-functions.php line 200
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    */
    function acf_update_value( $value, $post_id, $field ) {
     
        // Allow filter to short-circuit update_value logic.
        $check = apply_filters( 'acf/pre_update_value', null, $value, $post_id, $field );
        if ( $check !== null ) {
            return $check;
        }
     
        /**
         * Filters the $value before it is updated.