AMP_Base_Sanitizer::should_sanitize_validation_error( array $validation_error, array $data = array() )
Description #
Check whether or not sanitization should occur in response to validation error.
Parameters #
- $validation_error
-
(Required) Validation error.
- $data
-
(Optional) Data including the node.
Default value:array()