amp_get_slug

Get the slug used in AMP for the query var, endpoint, and post type support.

amp_is_legacy

Determines whether the legacy AMP post templates are being used.