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



get_the_tags › WordPress过滤钩子

Since2.3.0
已弃用n/a
› apply_filters( 'get_the_tags', $terms )
参数:
  • () terms Array of WP_Term objects on success, false if there are no terms or the post does not exist, WP_Error on failure.
    Required: Yes
查看:
  • get_the_terms()
定义在:
文档:

Filters the array of tags for the given post.





源码

return apply_filters( 'get_the_tags', $terms );