wxr_tag_name( WP_Term $tag )
Output a tag_name XML tag from a given tag object
Parameters
- $tag
-
(WP_Term) (Required) Tag Object
Source
File: wp-admin/includes/export.php
function wxr_tag_name( $tag ) { if ( empty( $tag->name ) ) { return; } echo '<wp:tag_name>' . wxr_cdata( $tag->name ) . "</wp:tag_name>\n"; }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |