A WordPress-centric search engine for devs and theme authors



tag_cloud_sort ›

Since2.8.0
Deprecatedn/a
apply_filters( 'tag_cloud_sort', $tags, $args )
Parameters: (2)
  • (WP_Term[]) $tags Ordered array of terms.
    Required: Yes
  • (array) $args An array of tag cloud arguments.
    Required: Yes
Defined at:
Codex:

Filters how the items in a tag cloud are sorted.





Source

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