AMP_Base_Sanitizer::is_exempt_from_validation

This method has been deprecated. Use AmpProjectDevMode::isExemptFromValidation( $node ) instead.

AMP_Base_Sanitizer::is_exempt_from_validation( DOMNode $node )

Description #

Check whether a certain node should be exempt from validation.


Parameters #

$node

(Required) Node to check.


Return #

(bool) Whether the node should be exempt from validation.