W3cubDocs

/WordPress

apply_filters( 'get_the_tags', WP_Term[] $terms )

Filters the array of tags for the given post.

Description

See also

Parameters

$terms

(WP_Term[]) An array of tags for the given post.

Source

File: wp-includes/category-template.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_the_tags