PairedUrl
Description #
Service for manipulating a paired URL.
Source #
File: src/PairedUrl.php
Methods #
- add_path_suffix — Get paired AMP URL using a endpoint suffix.
- add_query_var — Get paired AMP URL using query var (?amp=1).
- has_path_suffix — Determine whether the given URL has the endpoint suffix.
- has_query_var — Determine whether the given URL has the query var.
- remove_path_suffix — Strip paired endpoint suffix.
- remove_query_var — Strip paired query var.