wxr_tag_description() – Output a tag_description XML tag from a given tag object

You appear to be a bot. Output may be restricted

Description

Outputs a tag_description XML tag from a given tag object.

Usage

wxr_tag_description( $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_description( $tag ) {
    if ( empty( $tag->description ) ) {
      return;
    }

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

 View on GitHub View on Trac