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.3.3

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 );
    
    			// Fire standard shop loop hooks when paginating results so we can show result counts and so on.
    			if ( wc_string_to_bool( $this->attributes['paginate'] ) ) {
    				do_action( 'woocommerce_before_shop_loop' );
    			}