woocommerce_order_edit_status action-hookWC 1.0

Usage

add_action( 'woocommerce_order_edit_status', 'wp_kama_woocommerce_order_edit_status_action', 10, 2 );

/**
 * Function for `woocommerce_order_edit_status` action-hook.
 * 
 * @param  $id         
 * @param  $new_status 
 *
 * @return void
 */
function wp_kama_woocommerce_order_edit_status_action( $id, $new_status ){

	// action...
}
$id
-
$new_status
-

Where the hook is called

ListTable::do_bulk_action_mark_orders()
woocommerce_order_edit_status
WC_Admin_List_Table_Orders::handle_bulk_actions()
woocommerce_order_edit_status
WC_Order::set_status()
woocommerce_order_edit_status
WC_AJAX::mark_order_status()
woocommerce_order_edit_status
woocommerce/src/Internal/Admin/Orders/ListTable.php 903
do_action( 'woocommerce_order_edit_status', $id, $new_status ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php 554
do_action( 'woocommerce_order_edit_status', $id, $new_status );
woocommerce/includes/class-wc-order.php 266
do_action( 'woocommerce_order_edit_status', $this->get_id(), $result['to'] );
woocommerce/includes/class-wc-ajax.php 544
do_action( 'woocommerce_order_edit_status', $order->get_id(), $status );

Where the hook is used in WooCommerce

Usage not found.