amp_auto_lightbox_disabled

apply_filters( 'amp_auto_lightbox_disabled',  bool $disabled )

Description #

Filters whether AMP auto-lightbox is disabled.

When disabled, the data-amp-auto-lightbox-disable attribute is added to the body.


Parameters #

$disabled

Whether disabled.



Changelog #

Changelog
Version Description
2.2.2 Introduced.