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



get_the_tags › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'get_the_tags', $terms )
Parameters:
  • () terms Array of WP_Term objects on success, false if there are no terms or the post does not exist, WP_Error on failure.
    Required: Yes
See:
  • get_the_terms()
Defined at:
Codex:

Filters the array of tags for the given post.





Source

return apply_filters( 'get_the_tags', $terms );