acf/validate_rest_value/type=

acf/validate_rest_value/type=

Hook Type: filter

See hook in core

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

apply_filters('acf/validate_rest_value/type=') is found 1 times:

  • /includes/rest-api/class-acf-rest-api.php line 176
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
         * @param bool  $valid True if the value is valid, false or WP_Error if not.
         * @param mixed $value The value to check.
         * @param array $field An array of information about the field.
         */
        $valid = apply_filters( 'acf/validate_rest_value/type=' . $field['type'], true, $field_value, $field );
     
        if ( true !== $valid ) {
            return $valid;
        }
    }