从给定的术语对象输出term_description XML标记

原型

wxr_term_description( object $term )

参数

$term (object) (Required) 术语对象

源文件

路径:wp-admin/includes/export.php

<?php
...
	function wxr_term_description( $term ) {
		if ( empty( $term->description ) )
			return;
		echo "tt<wp:term_description>" . wxr_cdata( $term->description ) . "</wp:term_description>n";
	}
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/wxr_term_description/