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



tag_cloud_sort ›

Since2.8.0
已弃用n/a
apply_filters( 'tag_cloud_sort', $tags, $args )
参数: (2)
  • (WP_Term[]) $tags Ordered array of terms.
    Required: Yes
  • (array) $args An array of tag cloud arguments.
    Required: Yes
定义在:
文档:

Filters how the items in a tag cloud are sorted.





源码

$tags_sorted = apply_filters( 'tag_cloud_sort', $tags, $args );