Uses
| Uses | Description |
|---|---|
| wp-admin/includes/export.php: wxr_cdata() | Wrap given string in XML CDATA tag. |
Output a term_description XML tag from a given term object
(object) (Required) Term Object
File: wp-admin/includes/export.php
function wxr_term_description( $term ) {
if ( empty( $term->description ) ) {
return;
}
echo "\t\t<wp:term_description>" . wxr_cdata( $term->description ) . "</wp:term_description>\n";
} | Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wxr_term_description