Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/link-template.php | apply_filters | 3984 | /** * Filters the canonical URL for a post. * * @since 4.6.0 * * @param string $canonical_url The post's canonical URL. * @param WP_Post $post Post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $canonical_url | The post's canonical URL. |
WP_Post | $post | Post object. |