wxr_term_description( WP_Term $term )

Outputs a term_description XML tag from a given term object.


Parameters

$term WP_Term Required
Term Object.

Top ↑

Source

File: wp-admin/includes/export.php. View all references

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

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


Top ↑

Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

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