woocommerce_order_edit_product action-hookWC 1.0

Usage

add_action( 'woocommerce_order_edit_product', 'wp_kama_woocommerce_order_edit_product_action', 10, 4 );

/**
 * Function for `woocommerce_order_edit_product` action-hook.
 * 
 * @param  $id      
 * @param  $item_id 
 * @param  $args    
 * @param  $product 
 *
 * @return void
 */
function wp_kama_woocommerce_order_edit_product_action( $id, $item_id, $args, $product ){

	// action...
}
$id
-
$item_id
-
$args
-
$product
-

Where the hook is called

WC_Abstract_Legacy_Order::update_product()
woocommerce_order_edit_product
woocommerce/includes/legacy/abstract-wc-legacy-order.php 173
do_action( 'woocommerce_order_edit_product', $this->get_id(), $item->get_id(), $args, $product );

Where the hook is used in WooCommerce

Usage not found.