wxr_category_description

Advertisement

Summery Summery

Output a category_description XML tag from a given category object

Syntax Syntax

wxr_category_description( object $category )

Parameters Parameters

$category

(Required) Category Object

Source Source

File: wp-admin/includes/export.php

	function wxr_category_description( $category ) {
		if ( empty( $category->description ) ) {
			return;
		}

		echo '<wp:category_description>' . wxr_cdata( $category->description ) . "</wp:category_description>\n";
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply