get_the_tags WordPress Filter Hook
The get_the_tags hook is used to retrieve the tags for a post. This hook can be used in conjunction with the the_tags() template tag.
apply_filters( 'get_the_tags', WP_Term[]|false|WP_Error $terms ) #
Filters the array of tags for the given post.
Description
See also
Parameters
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |