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