amp_maybe_add_actions

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

amp_maybe_add_actions()

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 #

(void)


Changelog #

Changelog
Version Description
0.2 Introduced.