woocommerce_shortcode_before_{$this->type}_loop

woocommerce_shortcode_before_{$this->type}_loop

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_shortcode_before_{$this->type}_loop') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-products.php line 642
    			);
    
    			$original_post = $GLOBALS['post'];
    
    			do_action( "woocommerce_shortcode_before_{$this->type}_loop", $this->attributes );
    
    			if ( wc_string_to_bool( $this->attributes['paginate'] ) ) {
    				/**
    				 * Fire the standard shop hooks when paginating so we can display result counts etc.
    				 * If the pagination is not enabled, this hook will not be fired.
    				 *