W3cubDocs

/WordPress

apply_filters( 'get_tags', WP_Term[]|int $tags, array $args )

Filters the array of term objects returned for the ‘post_tag’ taxonomy.

Description

Parameters

$tags

(WP_Term[]|int) Array of 'post_tag' term objects, or a count thereof.

$args

(array) An array of arguments. @see get_terms()

Source

File: wp-includes/category.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_tags