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



the_tags › WordPress过滤钩子

Since2.3.0
已弃用n/a
› apply_filters( 'the_tags', $tag_list, $before, $sep, $after, $post_id )
参数: (5)
  • () tag_list A list of tags on success, false if there are no terms, WP_Error on failure.
    Required: Yes
  • () before String to use before the tags.
    Required: Yes
  • () sep String to use between the tags.
    Required: Yes
  • () after String to use after the tags.
    Required: Yes
  • () post_id Post ID.
    Required: Yes
定义在:
文档:

Filters the tags list for a given post.





源码

return apply_filters( 'the_tags', $tag_list, $before, $sep, $after, $post_id );