tag_description( int $tag )

Retrieves tag description.


Parameters Parameters

$tag

(int) (Optional) Tag ID. Defaults to the current tag ID.


Top ↑

Return Return

(string) Tag description, if available.


Top ↑

More Information More Information

Usage:
$description = tag_description();
Notes:

Output is wrapped in <p> tags.


Top ↑

Source Source

File: wp-includes/category-template.php

function tag_description( $tag = 0 ) {
	return term_description( $tag );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.