메소드 |
설명 |
|
get_download_permissions_granted ( WC_Order $order ) : boolean |
Gets information about whether permissions were generated yet. |
|
get_order_count ( string $type ) : integer |
Return count of orders with type. |
|
get_order_id_by_order_key ( string $order_key ) : integer |
Finds an Order ID based on an order key. |
|
get_orders ( array $args = [] ) : array |
Get all orders matching the passed in args. |
|
get_recorded_coupon_usage_counts ( WC_Order $order ) : boolean |
Gets information about whether coupon counts were updated. |
|
get_recorded_sales ( WC_Order $order ) : boolean |
Gets information about whether sales were recorded. |
|
get_total_refunded ( $order ) : string |
Get amount already refunded. |
|
get_total_shipping_refunded ( $order ) : float |
Get the total shipping refunded. |
|
get_total_tax_refunded ( $order ) : float |
Get the total tax refunded. |
|
get_unpaid_orders ( $date ) : array |
Get unpaid orders after a certain date, |
|
search_orders ( string $term ) : array |
Search order data for a term and return ids. |
|
set_download_permissions_granted ( WC_Order $order, boolean $set ) |
Stores information about whether permissions were generated yet. |
|
set_recorded_coupon_usage_counts ( WC_Order $order, boolean $set ) |
Stores information about whether coupon counts were updated. |
|
set_recorded_sales ( WC_Order $order, boolean $set ) |
Stores information about whether sales were recorded. |
|