apply_filters( 'amp_is_enabled', bool $enabled )
Description #
Filters whether AMP is enabled on the current site.
Useful if the plugin is network activated and you want to turn it off on select sites.
Parameters #
- $enabled
-
Whether the AMP plugin's functionality should be enabled.