woocommerce_product_loop_end( bool $echo = true )
Output the end of a product loop. By default this is a UL.
Description Description
Parameters Parameters
- $echo
-
(Optional) Should echo?.
Default value: true
Return Return
(string)
Source Source
File: includes/wc-template-functions.php
function woocommerce_product_loop_end( $echo = true ) {
ob_start();
wc_get_template( 'loop/loop-end.php' );
$loop_end = apply_filters( 'woocommerce_product_loop_end', ob_get_clean() );
if ( $echo ) {
echo $loop_end; // WPCS: XSS ok.
} else {
return $loop_end;
}
}