wxr_cat_name( object $category )

Output a cat_name XML tag from a given category object


Parameters Parameters

$category

(object) (Required) Category Object



Top ↑

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";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.