woocommerce_result_count

Output the result count text (Showing x - x of x results).

Description

woocommerce_result_count(); 

Usage

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

Defined (1)

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

/includes/wc-template-functions.php  
  1. function woocommerce_result_count() { 
  2. wc_get_template( 'loop/result-count.php' );