woocommerce_saved_order_items
phpcs:disable WooCommerce.Commenting.CommentHooks.MissingHookComment
Usage
add_action( 'woocommerce_saved_order_items', 'wp_kama_woocommerce_saved_order_items_action', 10, 2 ); /** * Function for `woocommerce_saved_order_items` action-hook. * * @param $order_id * @param $items * * @return void */ function wp_kama_woocommerce_saved_order_items_action( $order_id, $items ){ // action... }
- $order_id
- -
- $items
- -
Where the hook is called
woocommerce/includes/admin/wc-admin-functions.php 459
do_action( 'woocommerce_saved_order_items', $order_id, $items );