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



get_tags ›

Since2.3.0
已弃用n/a
apply_filters( 'get_tags', $tags, $args )
参数: (2)
  • (WP_Term[]|int) $tags Array of 'post_tag' term objects, or a count thereof.
    Required: Yes
  • (array) $args An array of arguments. @see get_terms()
    Required: Yes
定义在:
文档:

Filters the array of term objects returned for the 'post_tag' taxonomy.





源码

$tags = apply_filters( 'get_tags', $tags, $args );