amp_remove_endpoint

This function has been deprecated. Use amp_remove_paired_endpoint() instead.

amp_remove_endpoint( string $url )

Description #

Remove the AMP endpoint (and query var) from a given URL.


Parameters #

$url

(Required) URL.


Return #

(string) URL with AMP stripped.


Changelog #

Changelog
Version Description
2.1 Deprecated.
0.7 Introduced.