apply_filters( 'amp_to_amp_linking_element_excluded',  bool $excluded,  string $url,  string[] $rel,  DOMElement $element )

Description #

Filters whether AMP-to-AMP is excluded for an element.

The element may be either a link (a or area) or a form.

Parameters #


(bool) Excluded. Default value is whether element already has a `noamphtml` link relation or the URL is among `excluded_urls`.


(string) URL considered for exclusion.


(string[]) Link relations.


(DOMElement) The element considered for excluding from AMP-to-AMP linking. May be instance of `a`, `area`, or `form`.