amp_get_sandboxing_level
Determine sandboxing level if enabled.
Determine sandboxing level if enabled.
Determine whether native img
should be used instead of converting to amp-img
.
Determine whether the use of Bento components is enabled.
Remove the paired AMP endpoint from a given URL.
Determine a given URL is for a paired AMP request.
Turn a given URL into a paired AMP URL.
Add hooks to use legacy AMP post templates from before v0.4.
Generate hash for inline amp-script.
Determine whether AMP dev mode is enabled.
Determine whether the current response being served as AMP.
Determine whether the current request is for an AMP page.
Determine whether a given post supports AMP.
Determine whether a given post supports AMP.
Add amphtml link.
Remove the AMP endpoint (and query var) from a given URL.
Retrieves the full AMP-specific permalink for the given post ID.
Get the slug used in AMP for the query var, endpoint, and post type support.
Determine whether AMP is available for the current URL.
Determines whether the legacy AMP post templates are being used.
Whether this is in 'canonical mode'.
Add amphtml link to frontend.
Render AMP post template.
Render AMP for queried post.
Add action to do post template rendering at template_redirect action.
Add post template actions.
Conditionally add AMP actions or render the transitional mode template(s).