AMP_DOM_Utils::get_node_attributes_as_assoc_array March 9, 2021 Extract a DOMElement node's HTML element attributes and return as an array.
AMP_DOM_Utils::get_dom_from_content March 9, 2021 Return a valid Dom\Document representing arbitrary HTML content passed as a…
AMP_DOM_Utils::get_dom March 9, 2021 Return a valid Dom\Document representing HTML document passed as a parameter.
AMP_DOM_Utils::get_content_from_dom_node March 9, 2021 Return valid HTML content extracted from the DOMNode passed as a parameter.
AMP_DOM_Utils::get_content_from_dom March 9, 2021 Return valid HTML *body* content extracted from the Dom\Document passed as a…
AMP_DOM_Utils::get_amp_bind_placeholder_prefix March 9, 2021 Get attribute prefix for converted amp-bind attributes.
AMP_DOM_Utils::create_node March 9, 2021 Create a new node w/attributes (a DOMElement) and add to the passed…
AMP_DOM_Utils::copy_attributes March 9, 2021 Copy one or more attributes from one element to the other.
AMP_DOM_Utils::add_attributes_to_node March 9, 2021 Add one or more HTML element attributes to a node's DOMElement.
amp_dev_tools_user_default_enabled October 14, 2020 Filters whether Developer Tools is enabled by default for a user.
amp_dev_mode_element_xpaths September 21, 2020 Filters the XPath queries for elements that should be enabled for dev mode.
amp_customizer_register_ui October 14, 2020 Fires after the AMP panel has been registered for plugins to add additional…
amp_customizer_register_settings October 14, 2020 Fires when plugins should register settings for AMP.
amp_customizer_post_type October 14, 2020 Filter the post type to retrieve the latest for use in the AMP template…
amp_customizer_is_enabled October 14, 2020 Filter whether to enable the AMP default template design settings.
amp_customizer_enqueue_preview_scripts October 14, 2020 Fires when plugins should enqueue their own scripts for the AMP Customizer…
amp_comment_posted_message October 14, 2020 Filters the message when comment submitted success message when
AMP_Base_Sanitizer::should_sanitize_validation_error September 21, 2020 Check whether or not sanitization should occur in response to validation error.
AMP_Base_Sanitizer::set_layout September 21, 2020 Sets the layout, and possibly the 'height' and 'width'…
AMP_Base_Sanitizer::sanitize_dimension September 21, 2020 Sanitizes a CSS dimension specifier while being sensitive to dimension context.
AMP_Base_Sanitizer::sanitize September 21, 2020 Sanitize the HTML contained in the DOMDocument received by the constructor
AMP_Base_Sanitizer::remove_invalid_attribute September 21, 2020 Removes an invalid attribute of a node.
AMP_Base_Sanitizer::reassemble_style_string September 21, 2020 Reassemble a style string that can be used in a 'style' attribute.
AMP_Base_Sanitizer::parse_style_string September 21, 2020 Parse a style string into an associative array of style attributes.
AMP_Base_Sanitizer::maybe_enforce_https_src September 21, 2020 Decide if we should remove a src attribute if https is required.
AMP_Base_Sanitizer::is_exempt_from_validation September 21, 2020 Check whether a certain node should be exempt from validation.
AMP_Base_Sanitizer::is_empty_attribute_value September 21, 2020 Determine if an attribute value is empty.
AMP_Base_Sanitizer::is_document_in_dev_mode September 21, 2020 Check whether the document of a given node is in dev mode.
AMP_Base_Sanitizer::has_light_shadow_dom December 15, 2021 Determine whether the resulting AMP element uses a "light" shadow DOM.…
AMP_Base_Sanitizer::has_dev_mode_exemption September 21, 2020 Check whether a node is exempt from validation during dev mode.
AMP_Base_Sanitizer::get_validate_response_data September 21, 2020 Get data that is returned in validate responses.
AMP_Base_Sanitizer::get_selector_conversion_mapping September 21, 2020 Get mapping of HTML selectors to the AMP component selectors which they may be…
AMP_Base_Sanitizer::get_scripts September 21, 2020 Return array of values that would be valid as an HTML script element.
AMP_Base_Sanitizer::get_data_amp_attributes September 21, 2020 Get data-amp-* values from the parent node 'figure' added by editor…
AMP_Base_Sanitizer::get_body_node September 21, 2020 Get HTML body as DOMElement from Dom\Document received by the constructor.
AMP_Base_Sanitizer::filter_attachment_layout_attributes September 21, 2020 Set attributes to node's parent element according to layout.
AMP_Base_Sanitizer::clean_up_after_attribute_removal September 21, 2020 Cleans up artifacts after the removal of an attribute node.
AMP_Base_Sanitizer::add_or_append_attribute September 21, 2020 Adds or appends key and value to list of attributes
AMP_Base_Sanitizer::add_buffering_hooks September 21, 2020 Add filters to manipulate output during output buffering before the DOM is…
AMP_Base_Embed_Handler::unwrap_p_element November 17, 2020 Replace an element's parent with itself if the parent is a tag which…
AMP_Base_Embed_Handler::maybe_remove_script_sibling May 7, 2021 Removes the node's nearest sibling with a src attribute containing…
AMP_Base_Embed_Handler::match_element_attributes September 21, 2020 Get regex pattern for matching HTML attributes from a given tag name.
AMP_Base_Embed_Handler::get_scripts September 21, 2020 Get mapping of AMP component names to AMP script URLs.
AMP_Base_Embed_Handler::get_child_elements November 17, 2020 Get all child elements of the specified element.
AMP_Base_Embed_Handler::create_overflow_button_markup December 15, 2021 Create overflow button markup.
AMP_Base_Embed_Handler::create_overflow_button_element December 15, 2021 Create overflow button element.
amp_backcompat_use_v03_templates September 21, 2020 Add hooks to use legacy AMP post templates from before v0.4.