AMP_Base_Sanitizer::filter_attachment_layout_attributes

AMP_Base_Sanitizer::filter_attachment_layout_attributes( DOMElement $node,  array $new_attributes,  string $layout )

Description #

Set attributes to node's parent element according to layout.


Parameters #

$node

(Required) Node.

$new_attributes

(Required) Attributes array.

$layout

(Required) Layout.


Return #

(array) New attributes.