wxr_tag_name

Advertisement

Summery Summery

Output a tag_name XML tag from a given tag object

Syntax Syntax

wxr_tag_name( object $tag )

Parameters Parameters

$tag

(object) (Required) Tag Object

Source Source

File: wp-admin/includes/export.php

	function wxr_tag_name( $tag ) {
		if ( empty( $tag->name ) ) {
			return;
		}

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Advertisement

Leave a Reply

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