wxr_category_description( object $category )

Output a category_description XML tag from a given category object


Description Description


Parameters Parameters

$category

(object) (Required) Category Object


Top ↑

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

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.