Uses
Uses | Description |
---|---|
wp-includes/category-template.php: term_description() | Retrieves term description. |
Retrieves tag description.
(int) (Optional) Tag ID. Defaults to the current tag ID.
(string) Tag description, if available.
$description = tag_description();
Output is wrapped in <p> tags.
File: wp-includes/category-template.php
function tag_description( $tag = 0 ) { return term_description( $tag ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/tag_description