get_sample_permalink_html
apply_filters( ‘get_sample_permalink_html’, string $return , int $post_id , string $new_title , string $new_slug , WP_Post $post )
过滤器::过滤示例permalink HTML标记。
Filter Hook: Filters the sample permalink HTML markup.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$return | (string) | 永久链接HTML标记示例。 |
$post_id | (int) | 邮政编码。 |
$new_title | (string) | 新样本永久链接标题。 |
$new_slug | (string) | 新样品渗透液塞。 |
$post | (WP_Post) | Post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.4.0 | wp-admin/includes/post.php:1487 | 1 | 0 |
get_sample_permalink_html 为WP2原创文章,链接:https://www.wp2.cn/hook/get_sample_permalink_html-2/