apply_filters( 'the_tags', string $tag_list, string $before, string $sep, string $after, int $post_id )

Filters the tags list for a given post.

Parameters

$tag_list

(string) List of tags.

$before

(string) String to use before the tags.

$sep

(string) String to use between the tags.

$after

(string) String to use after the tags.

$post_id

(int) Post ID.

Source

File: wp-includes/category-template.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

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