woocommerce_shortcode_after_(type)_loop
Использование
add_action( 'woocommerce_shortcode_after_(type)_loop', 'wp_kama_woocommerce_shortcode_after_type_loop_action' ); /** * Function for `woocommerce_shortcode_after_(type)_loop` action-hook. * * @param $attributes * * @return void */ function wp_kama_woocommerce_shortcode_after_type_loop_action( $attributes ){ // action... }
- $attributes
- -
Где вызывается хук
woocommerce_shortcode_after_(type)_loop
woocommerce/includes/shortcodes/class-wc-shortcode-products.php 685
do_action( "woocommerce_shortcode_after_{$this->type}_loop", $this->attributes );