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.5.12.2

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

  • /includes/rest-api/class-acf-rest-api.php line 172
    			 * @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;
    			}
    		}