This function has been deprecated. This function is not used when ‘amp’ theme support is added instead.


Description #

Conditionally add AMP actions or render the transitional mode template(s).

If the request is for an AMP page and this is in 'canonical mode,' redirect to the non-AMP page. It won't need this plugin's template system, nor the frontend actions like the 'rel' link.

Return #


Changelog #

Version Description
0.2 Introduced.