Function: term_description

term_description( integer $term, null $deprecated )

Retrieve term description.

Shortcut: td

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.

Parameters

Name Type(s) Default Value Description
$term integer

Optional. Term ID. Will use global term ID by default.

$deprecated null null

Deprecated argument.

Returns

string

Term description, available.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.