wxr_cat_name

Advertisement

Summery Summery

Output a cat_name XML tag from a given category object

Syntax Syntax

wxr_cat_name( object $category )

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

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply