amp_customizer_is_enabled

apply_filters( 'amp_customizer_is_enabled',  bool $enable )

Description #

Filter whether to enable the AMP default template design settings.


Parameters #

$enable

Whether to enable the AMP default template design settings. Default true.



Changelog #

Changelog
Version Description
0.6 This filter now controls whether or not the default settings, controls, and sections are registered for the Customizer. The AMP panel will be registered regardless.
0.4 Introduced.