wxr_tag_name() – Output a tag_name XML tag from a given tag object

You appear to be a bot. Output may be restricted

Description

Output a tag_name XML tag from a given tag object

Usage

wxr_tag_name( $tag );

Parameters

$tag
( WP_Term ) required – Tag Object

Returns

void

Source

File name: wordpress/wp-admin/includes/export.php
Lines:

1 to 7 of 7
  function wxr_tag_name( $tag ) {
    if ( empty( $tag->name ) ) {
      return;
    }

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

 View on GitHub View on Trac