woocommerce_after_shop_loop хук-событиеWC 1.0

Fire standard shop loop hooks when paginating results so we can show result counts and so on.

Использование

add_action( 'woocommerce_after_shop_loop', 'wp_kama_woocommerce_after_shop_loop_action' );
function wp_kama_woocommerce_after_shop_loop_action(){
	// action...
}

Где вызывается хук

WC_Shortcode_Products::product_loop()
woocommerce_after_shop_loop
LegacyTemplate::render_archive_product()
woocommerce_after_shop_loop
woocommerce_content()
woocommerce_after_shop_loop
woocommerce/includes/shortcodes/class-wc-shortcode-products.php 672
do_action( 'woocommerce_after_shop_loop' );
woocommerce/templates/archive-product.php 81
do_action( 'woocommerce_after_shop_loop' );
woocommerce/includes/wc-template-functions.php 1000
<?php do_action( 'woocommerce_after_shop_loop' ); ?>

Где используется хук в WooCommerce

woocommerce/includes/wc-template-functions.php 209
add_action( 'woocommerce_after_shop_loop', 'woocommerce_reset_loop', 999 );
woocommerce/includes/wc-template-hooks.php 188
add_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );