woocommerce_checkout_create_order_coupon_item

woocommerce_checkout_create_order_coupon_item

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_checkout_create_order_coupon_item') is found 1 times:

  • /includes/class-wc-checkout.php line 706
    			 * Action hook to adjust item before save.
    			 *
    			 * @since 3.0.0
    			 */
    			do_action( 'woocommerce_checkout_create_order_coupon_item', $item, $code, $coupon, $order );
    
    			// Add item to order and save.
    			$order->add_item( $item );
    		}
    	}