woocommerce_after_set_term_order, $term, $index, $taxonomy

woocommerce_after_set_term_order, $term, $index, $taxonomy

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_after_set_term_order, $term, $index, $taxonomy') is found 1 times:

  • /includes/wc-term-functions.php line 337
     
    		/**
    		 * After a term has had it's order set.
    		*/
    		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_id}&hide_empty=0&menu_order=ASC" );
    		if ( ! empty( $children ) ) {
    			$index = wc_reorder_terms( $the_term, $next_id, $taxonomy, $index, $children );
    		}