AMP_Base_Sanitizer::has_dev_mode_exemption

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

AMP_Base_Sanitizer::has_dev_mode_exemption( DOMNode $node )

Description #

Check whether a node is exempt from validation during dev mode.


Parameters #

$node

(Required) Node to check.


Return #

(bool) Whether the node should be exempt during dev mode.


Changelog #

Changelog
Version Description
1.3 Introduced.