AMP_Base_Sanitizer::__construct( AmpProjectDomDocument $dom, array $args = array() )
Description #
AMP_Base_Sanitizer constructor.
Parameters #
- $dom
-
(Required) Represents the HTML document to sanitize.
- $args
-
(Optional) { Args. @type int $content_max_width @type bool $add_placeholder @type bool $require_https_src @type string[] $amp_allowed_tags @type string[] $amp_globally_allowed_attributes @type string[] $amp_layout_allowed_attributes }
Default value:array()