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



get_tags › WordPress过滤钩子

Since2.3.0
已弃用n/a
› apply_filters( 'get_tags', $tags, $args )
参数: (2)
  • () tags Array of 'post_tag' term objects, a count thereof, or WP_Error if any of the taxonomies do not exist.
    Required: Yes
  • () args An array of arguments. See {@see \get_terms()}.
    Required: Yes
定义在:
文档:

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





源码

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