Filter hook 'get_the_tags'

in WP Core File wp-includes/category-template.php at line 1190

Description

Filters the array of tags for the given post.

Occurrences

Filename Line Number
wp-includes/category-template.php 1190

Parameters

Type Name Description
WP_Term[]|false|WP_Error $terms Array of WP_Term objects on success, false if there are no terms or the post does not exist, WP_Error on failure.

PHP Doc

/**
	 * Filters the array of tags for the given post.
	 *
	 * @since 2.3.0
	 *
	 * @see get_the_terms()
	 *
	 * @param WP_Term[]|false|WP_Error $terms Array of WP_Term objects on success, false if there are no terms
	 *                                        or the post does not exist, WP_Error on failure.
	 */