Méthode | Description | |
---|---|---|
create_order ( $customer_id = 1 ) : WC_Order | Create a order. | |
delete_order ( integer $order_id ) | Delete a product. |
public static create_order ( $customer_id = 1 ) : WC_Order | ||
Résultat | WC_Order | Order object. |
public static delete_order ( integer $order_id ) | ||
$order_id | integer | ID of the order to delete. |