Check whether the current page is in AMP mode or not.
Description
We need to check for specific functions, as there is no special AMP header.
Parameters
$check_theme_supportbooloptional- Whether theme support should be checked. Defaults to true.
Default:
true
Changelog
| Version | Description |
|---|---|
| 1.8.4 | Introduced. |