Filters the array of term objects returned for the ‘post_tag’ taxonomy.
$tagsWP_Term[]|int|WP_Error
'post_tag' term objects, a count thereof, or WP_Error if any of the taxonomies do not exist.$argsarray
$tags = apply_filters( 'get_tags', $tags, $args );
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_tags