woocommerce_after_set_term_order
After a term has had it's order set.
Использование
add_action( 'woocommerce_after_set_term_order', 'wp_kama_woocommerce_after_set_term_order_action', 10, 3 );
/**
* Function for `woocommerce_after_set_term_order` action-hook.
*
* @param $term
* @param $index
* @param $taxonomy
*
* @return void
*/
function wp_kama_woocommerce_after_set_term_order_action( $term, $index, $taxonomy ){
// action...
}
- $term
- -
- $index
- -
- $taxonomy
- -
Где вызывается хук
woocommerce_after_set_term_order
woocommerce/includes/wc-term-functions.php 340
do_action( 'woocommerce_after_set_term_order', $term, $index, $taxonomy );