wc_reset_loop()WC 3.3.0

Resets the woocommerce_loop global.

No Hooks.

Return

null. Nothing.

Usage

wc_reset_loop();

Changelog

Since 3.3.0 Introduced.

Code of wc_reset_loop() WC 6.8.2

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