amp_get_permalink amp_get_permalink( int $post_id ) Description # Retrieves the full AMP-specific permalink for the given post ID. On a site in Standard mode, this is the same as get_permalink(). Parameters # $post_id (Required) Post ID. Return # (string) AMP permalink. Source # File: includes/amp-helper-functions.php Changelog # Changelog Version Description 0.1 Introduced.