Summery Summery
Retrieve the tags for a post.
Syntax Syntax
Parameters Parameters
- $before
-
(Optional) Before list.
Default value: null
- $sep
-
(Optional) Separate items using this.
Default value: ', '
- $after
-
(Optional) After list.
Default value: ''
Source Source
File: wp-includes/category-template.php
return apply_filters( 'get_the_tags', $terms ); } /** * Retrieves the tags for a post formatted as a string. * * @since 2.3.0 * * @param string $before Optional. String to use before the tags. Default empty. * @param string $sep Optional. String to use between the tags. Default empty. * @param string $after Optional. String to use after the tags. Default empty.
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |