AMP_Base_Sanitizer::get_data_amp_attributes

AMP_Base_Sanitizer::get_data_amp_attributes( DOMElement $node )

Description #

Get data-amp-* values from the parent node 'figure' added by editor block.


Parameters #

$node

(Required) Base node.


Return #

(array) AMP data array.