get_the_guid
apply_filters( ‘get_the_guid’, string $guid , int $id )
筛选挂钩:筛选帖子的全局唯一标识符(guid)。
Filter Hook: Filters the Global Unique Identifier (guid) of the post.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$guid | (string) | 文章的全局唯一标识符(guid)。 |
$id | (int) | 邮政编码。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-includes/post-template.php:232 | 3 | 0 |
get_the_guid 为WP2原创文章,链接:https://www.wp2.cn/hook/get_the_guid-2/