Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php

WC_REST_Orders_V2_Controller::merge_meta_item_with_formatted_meta_display_attributes()

Method: Merge the `$formatted_meta_data` `display_key` and `display_value` attribute values into the corresponding {@link WC_Meta_Data}. Returns the merged array.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:232

Used by 0 functions | Uses 1 function

WC_REST_Orders_V2_Controller::get_product_id()

Method: Gets the product ID from the SKU or posted ID.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:698

Used by 1 function | Uses 1 function

WC_REST_Orders_V2_Controller::maybe_set_item_prop()

Method: Maybe set an item prop if the value was posted.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:720

Used by 1 function | Uses 0 functions

WC_REST_Orders_V2_Controller::maybe_set_item_props()

Method: Maybe set item props if the values were posted.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:733

Used by 4 functions | Uses 1 function

WC_REST_Orders_V2_Controller::maybe_set_item_meta_data()

Method: Maybe set item meta if posted.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:745

Used by 4 functions | Uses 0 functions

WC_REST_Orders_V2_Controller::prepare_line_items()

Method: Create or update a line item.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:765

Used by 0 functions | Uses 5 functions

WC_REST_Orders_V2_Controller::prepare_shipping_lines()

Method: Create or update an order shipping method.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:795

Used by 0 functions | Uses 2 functions

WC_REST_Orders_V2_Controller::prepare_fee_lines()

Method: Create or update an order fee.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:819

Used by 0 functions | Uses 2 functions

WC_REST_Orders_V2_Controller::prepare_coupon_lines()

Method: Create or update an order coupon.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:843

Used by 0 functions | Uses 2 functions

WC_REST_Orders_V2_Controller::set_item()

Method: Wrapper method to create/update order items.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php:868

Used by 1 function | Uses 1 function
1 2 3 Next »
Proudly powered by WordPress