Summery Summery
Output a tag_description XML tag from a given tag object
Syntax Syntax
Parameters Parameters
- $tag
-
(Required) Tag Object
Source Source
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";
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |