过滤样本永久链接HTML标记。
原型
apply_filters( 'get_sample_permalink_html', string $return, int $post_id, string $new_title, string $new_slug, WP_Post $post )
参数
$return
(string)
示例永久链接HTML标记。
$post_id
(int)
帖子ID。
$new_title
(string)
新样本永久链接标题。
$new_slug
(string)
新样品固定块塞。
$post
(WP_Post)
发布对象。
源文件
路径:wp-admin/includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_sample_permalink_html/