the_tags WordPress Filter Hook
The the_tags hook is a great way to add tags to your WordPress posts. This hook allows you to add tags to your posts without having to edit the post itself. You can add as many tags as you want, and they will be automatically added to the post.
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
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |