amp_get_permalink

apply_filters( 'amp_get_permalink',  string $amp_url,  int $post_id )

Description #

Filters AMP permalink.


Parameters #

$amp_url

AMP URL.

$post_id

Post ID.



Changelog #

Changelog
Version Description
1.0 This filter only applies when using the legacy reader paired URL structure.
0.2 Introduced.