wp-includes/category-template.php:1265Retrieves term description.
$termintoptional0$deprecatedmixedoptionalnullstringfunction term_description( $term = 0, $deprecated = null ) { if ( ! $term && ( is_tax() || is_tag() || is_category() ) ) { $term = get_queried_object(); if ( $term ) { $term = $term->term_id; } } $description = get_term_field( 'description', $term ); return is_wp_error( $description ) ? '' : $description;}Introduced in 2.8.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$deprecated retyped from null to mixed.verified against sourcesrc/wp-includes/category-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.