tag_description( int $tag )
Retrieve tag description.
Description
Parameters
- $tag
-
(int) (Optional) Tag ID. Will use global tag ID by default.
Return
(string) Tag description, available.
Source
File: wp-includes/category-template.php
function tag_description( $tag = 0 ) { return term_description( $tag ); }
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
Basic Example
Displays a description of the tag id 28.