woocommerce_result_count()
Output the result count text (Showing x – x of x results).
Description Description
Source Source
File: includes/wc-template-functions.php
function woocommerce_result_count() { if ( ! wc_get_loop_prop( 'is_paginated' ) || ! woocommerce_products_will_display() ) { return; } $args = array( 'total' => wc_get_loop_prop( 'total' ), 'per_page' => wc_get_loop_prop( 'per_page' ), 'current' => wc_get_loop_prop( 'current_page' ), ); wc_get_template( 'loop/result-count.php', $args ); }