AMP_Base_Sanitizer::set_layout

AMP_Base_Sanitizer::set_layout( array $attributes )

Description #

Sets the layout, and possibly the 'height' and 'width' attributes.


Parameters #

$attributes

(Required) { Attributes. @type string $bottom @type int|string $height @type string $layout @type string $left @type string $position @type string $right @type string $style @type string $top @type int|string $width }


Return #

(array) Attributes.