WordPress开发者和主题制作者的搜索引擎



get_sample_permalink_html ›

Since4.4.0
已弃用n/a
apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post )
参数: (5)
  • (string) $return Sample permalink HTML markup.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string) $new_title New sample permalink title.
    Required: Yes
  • (string) $new_slug New sample permalink slug.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
定义在:
文档:

Filters the sample permalink HTML markup.





源码

$return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post );