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



the_shortlink › WordPress过滤钩子

Since3.0.0
已弃用n/a
apply_filters( 'the_shortlink', $link, $shortlink, $text, $title )
参数: (4)
  • (string) $link Shortlink anchor tag.
    Required: Yes
  • (string) $shortlink Shortlink URL.
    Required: Yes
  • (string) $text Shortlink's text.
    Required: Yes
  • (string) $title Shortlink's title attribute.
    Required: Yes
定义在:
文档:

Filters the short link anchor tag for a post.





源码

$link = apply_filters( 'the_shortlink', $link, $shortlink, $text, $title );