A WordPress-centric search engine for devs and theme authors



get_tags ›

Since2.3.0
Deprecatedn/a
apply_filters( 'get_tags', $tags, $args )
Parameters: (2)
  • (WP_Term[]|int) $tags Array of 'post_tag' term objects, or a count thereof.
    Required: Yes
  • (array) $args An array of arguments. @see get_terms()
    Required: Yes
Defined at:
Codex:

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





Source

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