get_canonical_url

最后更新于:2021-11-26 11:20:11

apply_filters( ‘get_canonical_url’, string $canonical_url, GC_Post $post )

Filters the canonical URL for a post.

参数

$canonical_url

(string)
The post’s canonical URL.

$post

(GC_Post)
Post object.

源文件

文件: gc-includes/link-template.php

View on Trac