WordPress Version: 6.1
/**
* Outputs a term_description XML tag from a given term object.
*
* @since 2.9.0
*
* @param WP_Term $term Term Object.
*/
function wxr_term_description($term)
{
if (empty($term->description)) {
return;
}
echo "\t\t<wp:term_description>" . wxr_cdata($term->description) . "</wp:term_description>\n";
}