This method has been deprecated. Use AmpProjectDomDocument::getElementId() instead.
AMP_DOM_Utils::get_element_id( DOMElement|AmpProjectDomElement $element, string $prefix = 'amp-wp-id' )
Parameters #
- $element
-
(Required) Element to get the ID for.
- $prefix
-
(Optional) Defaults to 'amp-wp-id'.
Default value:'amp-wp-id'