WordPress action hook

woocommerce_after_shop_loop

Defined by WooCommerce and fired by 53 plugins in total, running on 7.4M+ sites between them.

“Fire the standard shop hooks when paginating so we can display the pagination. If the pagination is not enabled, this hook will not be fired.”

How to use woocommerce_after_shop_loop

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_after_shop_loop', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

53 plugins that fire woocommerce_after_shop_loop

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_after_shop_loop' ) includes/shortcodes/class-wc-shortcode-products.php:682
  2. Discount Rules for WooCommerce icon Discount Rules for WooCommerce100,000+ installs do_action( 'woocommerce_after_shop_loop' ) v2/App/Controllers/ShortCodeManager.php:388
  3. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_after_shop_loop' ) widgets/archive-products/screens/default.php:457
  4. ShopLentor icon ShopLentor80,000+ installs do_action( 'woocommerce_after_shop_loop' ) woolentor-blocks/includes/classes/Product_Shortcode.php:305
  5. HUSKY icon HUSKY80,000+ installs do_action( 'woocommerce_after_shop_loop' ) index.php:2764
  6. Thim Elementor Kit icon Thim Elementor Kit20,000+ installs do_action( 'woocommerce_after_shop_loop' ) inc/elementor/widgets/archive-product/archive-product.php:275
  7. Genesis Connect for WooCommerce icon Genesis Connect for WooCommerce10,000+ installs do_action( 'woocommerce_after_shop_loop' ) lib/template-loader.php:294
  8. WCFM Marketplace icon WCFM Marketplace10,000+ installs do_action( 'woocommerce_after_shop_loop' ) views/store/wcfmmp-view-store-articles.php:49
  9. ShopBuilder icon ShopBuilder10,000+ installs do_action( 'woocommerce_after_shop_loop' ) templates/elementor/archive/archive-product.php:54
  10. Discount Rules and Dynamic Pricing for WooCommerce icon Discount Rules and Dynamic Pricing for WooCommerce9,000+ installs do_action( 'woocommerce_after_shop_loop' ) public/partials/products-list/default.php:64
  11. Themify Builder icon Themify Builder6,000+ installs do_action( 'woocommerce_after_shop_loop' ) themify/themify-template-tags.php:1488
  12. WowStore icon WowStore4,000+ installs do_action( 'woocommerce_after_shop_loop' ) addons/builder/templates/page.php:179
  13. WC Vendors icon WC Vendors3,000+ installs do_action( 'woocommerce_after_shop_loop' ) templates/front/vendor-shop.php:77
  14. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs do_action( 'woocommerce_after_shop_loop' ) blocks/archive-products/screen.php:233
  15. The Pack Elementor addon icon The Pack Elementor addon2,000+ installs do_action( 'woocommerce_after_shop_loop' ) includes/widgets/woocommerce/woo-archive-product/view.php:24
  16. WP Crowdfunding icon WP Crowdfunding2,000+ installs do_action( 'woocommerce_after_shop_loop' ) wpcftemplate/woocommerce/basic/author-campaigns.php:87
  17. MAS Elementor icon MAS Elementor800+ installs do_action( 'woocommerce_after_shop_loop' ) modules/woocommerce/classes/base-products-renderer.php:142
  18. StylePress for Elementor icon StylePress for Elementor600+ installs do_action( 'woocommerce_after_shop_loop' ) extensions/woocommerce/templates/archive-product.php:95
  19. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_after_shop_loop' ) Templates/ProductShop.php:219
  20. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_after_shop_loop' ) public/woocommerce/archive-product.php:73
  21. Noah Shop Builder for WooCommerce icon Noah Shop Builder for WooCommerce400+ installs do_action( 'woocommerce_after_shop_loop' ) includes/Blocks/ArchiveProducts.php:205
  22. Shopready icon Shopready100+ installs do_action( 'woocommerce_after_shop_loop' ) src/extension/templates/tpl/archive-product.php:79
  23. WP Related Posts and Products (WRI) icon WP Related Posts and Products (WRI)100+ installs do_action( 'woocommerce_after_shop_loop' ) wri_template/template-wri-woocommerce-loop-shop.php:32
  24. Nexvio for WooCommerce icon Nexvio for WooCommerce50+ installs do_action( 'woocommerce_after_shop_loop' ) widgets/class-nexvio-product-grid-widget.php:717
  25. Products Slider for WPBakery icon Products Slider for WPBakery40+ installs do_action( 'woocommerce_after_shop_loop' ) widgets/widget-slider.php:332
  26. Nekto Core icon Nekto Core30+ installs do_action( 'woocommerce_after_shop_loop' ) woocommerce/archive-product.php:84
  27. Addon Package for Elementor icon Addon Package for Elementor30+ installs do_action( 'woocommerce_after_shop_loop' ) widgets/apfe_slider_woo_widget.php:940
  28. TABLEiT icon TABLEiT20+ installs do_action( 'woocommerce_after_shop_loop' ) functions.php:2187
  29. Educat Elementor LMS Addon icon Educat Elementor LMS Addon20+ installs do_action( 'woocommerce_after_shop_loop' ) includes/widgets/woocommerce/woo-archive-product/view.php:20
  30. WPEnhanced Ajax Filter Blocks icon WPEnhanced Ajax Filter Blocks20+ installs do_action( 'woocommerce_after_shop_loop' ) includes/restcalls/filter/REST.php:7670
  31. Comparis icon Comparis10+ installs do_action( 'woocommerce_after_shop_loop' ) templates/archive-product.php:79
  32. Luma Product Fields icon Luma Product Fields10+ installs do_action( 'woocommerce_after_shop_loop' ) templates/taxonomy-product-archive.php:176
  33. Product category and page relation icon Product category and page relation10+ installs do_action( 'woocommerce_after_shop_loop' ) woocommerce/archive-product.php:183
  34. Yay Wholesale B2B for WooCommerce icon Yay Wholesale B2B for WooCommerce10+ installs do_action( 'woocommerce_after_shop_loop' ) includes/Engine/Compatibles/Barn2WoocommerceProductTable/templates/product-table-shop.php:82
  35. Proshots For WooCommerce icon Proshots For WooCommerce10+ installs do_action( 'woocommerce_after_shop_loop' ) templates/archive-product.php:103
  36. Themofy Addons for Elementor icon Themofy Addons for Elementor10+ installs do_action( 'woocommerce_after_shop_loop' ) modules/woocommerce/includes/widgets/class-product-grid.php:892
  37. Fand Pickup Points : Ultimate Edition for WCFM icon Fand Pickup Points : Ultimate Edition for WCFM10+ installs do_action( 'woocommerce_after_shop_loop' ) views/single-branch/fandpipo-single-branch-right.php:80
  38. Engage for WooCommerce icon Engage for WooCommerce10+ installs do_action( 'woocommerce_after_shop_loop' ) includes/shortcode.php:1082
  39. Yay Bulk Order for WooCommerce icon Yay Bulk Order for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/Engines/Compatibles/YayWholesale/templates/product-table-shop.php:82
  40. WEBD Woo Event Bookings icon WEBD Woo Event BookingsFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) templates/archive-product.php:114
  41. Bazario icon BazarioFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) elements/widgets/archive-products/archive-products.php:2773
  42. Single Page Shopping icon Single Page ShoppingFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/class-awcs-products-query.php:423
  43. SpeedSearch icon SpeedSearchFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) src/integrations/themes/equipo/products/products.php:100
  44. Tracking customers and product recommendations icon Tracking customers and product recommendationsFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/shortcodes/shortcode-product-recommendations.php:47
  45. Mysterx icon MysterxFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) public/class-mysterx-shortcode.php:754
  46. MOC icon MOCFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) core/inc/segments-product.php:86
  47. SMT Toolkit for WooCommerce icon SMT Toolkit for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/modules/ajax-archive/class-ajax-archive-frontend.php:325
  48. Custom Shop Filter by Webnotics icon Custom Shop Filter by WebnoticsFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) public/shortcodes/archive-product.php:167
  49. FilterSmith icon FilterSmithFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) templates/ajax-results.php:32
  50. Polanger Dating for WordPress icon Polanger Dating for WordPressFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) templates/integrations/woocommerce/archive-product.php:103
  51. Flx Modernize icon Flx ModernizeFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/WooCommerce/CatalogPayloadBuilder.php:172
  52. StratiSilo icon StratiSiloFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) includes/class-silo-theme-compat.php:187
  53. Sieve icon SieveFewer than 10 installs do_action( 'woocommerce_after_shop_loop' ) src/Service/ResultsRenderer.php:83

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.