woocommerce_after_set_term_order

This commit is contained in:
Mike Jolley 2017-04-28 13:36:01 +01:00
parent 1eee494b5d
commit 6fb644738e
1 changed files with 2 additions and 2 deletions

View File

@ -395,11 +395,11 @@ function wc_reorder_terms( $the_term, $next_id, $taxonomy, $index = 0, $terms =
// set order
$index++;
$index = wc_set_term_order( $term->term_id, $index, $taxonomy );
/**
* After a term has had it's order set.
*/
do_action( 'woocommerce_set_term_order', $term, $index, $taxonomy );
do_action( 'woocommerce_after_set_term_order', $term, $index, $taxonomy );
// if that term has children we walk through them
$children = get_terms( $taxonomy, "parent={$term->term_id}&menu_order=ASC&hide_empty=0" );