wxr_term_name

Advertisement

Summery Summery

Output a term_name XML tag from a given term object

Syntax Syntax

wxr_term_name( object $term )

Parameters Parameters

$term

(Required) Term Object

Source Source

File: wp-admin/includes/export.php

	function wxr_term_name( $term ) {
		if ( empty( $term->name ) ) {
			return;
		}

		echo '<wp:term_name>' . wxr_cdata( $term->name ) . "</wp:term_name>\n";
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply