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