apply_filters( 'get_canonical_url', string $canonical_url , WP_Post $post )
Filters the canonical URL for a post.
Parameters
- $canonical_url
-
The post's canonical URL.
- $post
-
Post object.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |