tag_description( int $tag )

Retrieves tag description.

Parameters Parameters


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

Top ↑

Return Return

(string) Tag description, if available.

Top ↑

More Information More Information

$description = tag_description();

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

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.