WordPress at Your Fingertips
filter is not described

get_tags filter-hook . WP 2.3.0

Filters the array of term objects returned for the 'post_tag' taxonomy.

Usage

add_filter( 'get_tags', 'filter_function_name_3411', 10, 2 );
function filter_function_name_3411( $tags, $args ){
	// filter...

	return $tags;
}
$tags(WP_Term[]|int|WP_Error)
Array of 'post_tag' term objects, a count thereof, or WP_Error if any of the taxonomies do not exist.
$args(array)
An array of arguments. @see get_terms()

Changelog

Since 2.3.0 Introduced.

Where the hook is called

get_tags()
get_tags
wp-includes/category.php 311
$tags = apply_filters( 'get_tags', $tags, $args );

Where in WP core the hook is used WordPress

Usage not found.