wpseek.com
A WordPress-centric search engine for devs and theme authors



get_tags › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'get_tags', $tags, $args )
Parameters: (2)
  • (WP_Term[]|int|WP_Error) $tags Array of 'post_tag' term objects, a count thereof, or WP_Error if any of the taxonomies do not exist.
    Required: Yes
  • (array) $args An array of arguments. See {@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 );