wxr_term_name() – Output a term_name XML tag from a given term object

You appear to be a bot. Output may be restricted

Description

Output a term_name XML tag from a given term object

Usage

wxr_term_name( $term );

Parameters

$term
( WP_Term ) required – Term Object

Returns

void

Source

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

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

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

 View on GitHub View on Trac