tag_description( int $tag )
Retrieve tag description.
Description Description
Parameters Parameters
- $tag
-
(int) (Optional) Tag ID. Will use global tag ID by default.
Return Return
(string) Tag description, available.
Source Source
File: wp-includes/category-template.php
function tag_description( $tag = 0 ) { return term_description( $tag ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Basic Example
Displays a description of the tag id 28.