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

do_action('woocommerce_after_shop_loop') is found 4 times:

  • /includes/shortcodes/class-wc-shortcode-products.php line 684
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
         * If the pagination is not enabled, this hook will not be fired.
         *
         * @since 3.3.1
         */
        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 1031

  • /src/Blocks/BlockTypes/ClassicTemplate.php line 324
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
         * @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 73
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
         * 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: