This method has been deprecated. Use AMP_DOM_Utils::convert_amp_bind_attributes() instead.


Description #

Get attribute prefix for converted amp-bind attributes.

This contains a random string to prevent HTML content containing this data- attribute originally from being mutated to contain an amp-bind attribute when attributes are restored.

See also

  • {@see AMP_DOM_Utils::convert_amp_bind_attributes()}
  • {@see AMP_DOM_Utils::restore_amp_bind_attributes()}

Return #

(string) HTML5 data-* attribute name prefix for AMP binding attributes.

Changelog #

Version Description
0.7 Introduced.