woocommerce_taxonomy_archive_description

Show an archive description on taxonomy archives.

Description

woocommerce_taxonomy_archive_description(); 

Usage

  1. if ( !function_exists( 'woocommerce_taxonomy_archive_description' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-template-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocommerce_taxonomy_archive_description(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-template-functions.php  
  1. function woocommerce_taxonomy_archive_description() { 
  2. if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) { 
  3. $description = wc_format_content( term_description() ); 
  4. if ( $description ) { 
  5. echo '<div class="term-description">' . $description . '</div>';