Summery Summery
Output a cat_name XML tag from a given category object
Syntax Syntax
Parameters Parameters
- $category
-
(Required) Category Object
Source Source
File: wp-admin/includes/export.php
function wxr_cat_name( $category ) { if ( empty( $category->name ) ) { return; } echo '<wp:cat_name>' . wxr_cdata( $category->name ) . "</wp:cat_name>\n"; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |