Retrieves tag description.
Parameters
$tag
intoptional- Tag ID. Defaults to the current tag ID.
Source
function tag_description( $tag = 0 ) {
return term_description( $tag );
}
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
CARVIEW |
Retrieves tag description.
$tag
intoptional$description = tag_description();
Output is wrapped in <p> tags.
function tag_description( $tag = 0 ) {
return term_description( $tag );
}
Uses | Description |
---|---|
term_description()wp-includes/category-template.php | Retrieves term description. |
Version | Description |
---|---|
2.8.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Basic Example
Displays a description of the tag id 28.