wxr_cat_name() – Output a cat_name XML tag from a given category object
You appear to be a bot. Output may be restricted
Description
Output a cat_name XML tag from a given category object
Usage
wxr_cat_name( $category );
Parameters
- $category
- ( WP_Term ) required – Category Object
Returns
void
Source
File name: wordpress/wp-admin/includes/export.php
Lines:
1 to 7 of 7
function wxr_cat_name( $category ) { if ( empty( $category->name ) ) { return; } echo '<wp:cat_name>' . wxr_cdata( $category->name ) . "</wp:cat_name>\n"; }