woocommerce_after_shop_loop

woocommerce_after_shop_loop

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_after_shop_loop') is found 4 times:

  • /includes/shortcodes/class-wc-shortcode-products.php line 672
    			woocommerce_product_loop_end();
    
    			// 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_after_shop_loop' );
    			}
    
    			do_action( "woocommerce_shortcode_after_{$this->type}_loop", $this->attributes );
    
    			wp_reset_postdata();
    			wc_reset_loop();
    
  • /includes/wc-template-functions.php line 1012

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 322
    			 * @see woocommerce_pagination() Renders pagination (priority 10)
    			 *
    			 * @since 6.3.0
    			 */
    			do_action( 'woocommerce_after_shop_loop' );
    		} else {
    			/**
    			 * Hook: woocommerce_no_products_found.
    			 *
    			 * @see wc_no_products_found() Default no products found content (priority 10)
    			 *
    
  • /templates/archive-product.php line 81
    	 * Hook: woocommerce_after_shop_loop.
    	 *
    	 * @hooked woocommerce_pagination - 10
    	 */
    	do_action( 'woocommerce_after_shop_loop' );
    } else {
    	/**
    	 * Hook: woocommerce_no_products_found.
    	 *
    	 * @hooked wc_no_products_found - 10
    	 */
    

See this hook used in plugins: