AMP_DOM_Utils::is_valid_head_node This method has been deprecated. Use AmpProjectDomDocument->isValidHeadNode() instead. AMP_DOM_Utils::is_valid_head_node( DOMNode $node ) Description # Determine whether a node can be in the head. Parameters # $node (Required) Node. Return # (bool) Whether valid head node. Source # File: includes/utils/class-amp-dom-utils.php