amp_add_amphtml_link- Add amphtml link.amp_add_paired_endpoint- Turn a given URL into a paired AMP URL.amp_add_post_template_actions- Add post template actions.amp_backcompat_use_v03_templates- Add hooks to use legacy AMP post templates from before v0.4.amp_frontend_add_canonical- Add amphtml link to frontend.amp_generate_script_hash- Generate hash for inline amp-script.amp_get_permalink- Retrieves the full AMP-specific permalink for the given post ID.amp_get_sandboxing_level- Determine sandboxing level if enabled.amp_get_slug- Get the slug used in AMP for the query var, endpoint, and post type support.amp_has_paired_endpoint- Determine a given URL is for a paired AMP request.amp_is_available- Determine whether AMP is available for the current URL.amp_is_bento_enabled- Determine whether the use of Bento components is enabled.amp_is_canonical- Whether this is in 'canonical mode'.amp_is_dev_mode- Determine whether AMP dev mode is enabled.amp_is_legacy- Determines whether the legacy AMP post templates are being used.amp_is_native_img_used- Determine whether nativeimgshould be used instead of converting toamp-img.amp_is_post_supported- Determine whether a given post supports AMP.amp_is_request- Determine whether the current request is for an AMP page.amp_maybe_add_actions- Conditionally add AMP actions or render the transitional mode template(s).amp_prepare_render- Add action to do post template rendering at template_redirect action.amp_remove_endpoint- Remove the AMP endpoint (and query var) from a given URL.amp_remove_paired_endpoint- Remove the paired AMP endpoint from a given URL.amp_render- Render AMP for queried post.amp_render_post- Render AMP post template.is_amp_endpoint- Determine whether the current response being served as AMP.post_supports_amp- Determine whether a given post supports AMP.
function
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||