wxr_term_description

Advertisement

Summery Summery

Output a term_description XML tag from a given term object

Syntax Syntax

wxr_term_description( object $term )

Parameters Parameters

$term

(object) (Required) Term Object

Source Source

File: wp-admin/includes/export.php

	function wxr_term_description( $term ) {
		if ( empty( $term->description ) ) {
			return;
		}

		echo "\t\t<wp:term_description>" . wxr_cdata( $term->description ) . "</wp:term_description>\n";
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.