wc_reset_loop()WC 3.3.0

Resets the woocommerce_loop global.

No Hooks.

Return

null. Nothing (null).

Usage

wc_reset_loop();

Changelog

Since 3.3.0 Introduced.

wc_reset_loop() code WC 8.6.1

function wc_reset_loop() {
	unset( $GLOBALS['woocommerce_loop'] );
}