Dev Resources

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

WC_REST_Orders_V1_Controller::prepare_line_items()

Method: Create or update a line item.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:661

Used by 0 functions | Uses 4 functions

WC_REST_Orders_V1_Controller::prepare_shipping_lines()

Method: Create or update an order shipping method.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:690

Used by 0 functions | Uses 1 function

WC_REST_Orders_V1_Controller::prepare_fee_lines()

Method: Create or update an order fee.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:713

Used by 0 functions | Uses 1 function

WC_REST_Orders_V1_Controller::prepare_coupon_lines()

Method: Create or update an order coupon.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:736

Used by 0 functions | Uses 1 function

WC_REST_Orders_V1_Controller::set_item()

Method: Wrapper method to create/update order items.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:760

Used by 1 function | Uses 1 function

woocommerce_rest_set_order_item

Action Hook: Action hook to adjust item before save.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:790

Used by 2 functions | Uses 0 functions

WC_REST_Orders_V1_Controller::item_is_null()

Method: Helper method to check if the resource ID associated with the provided item is null.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:807

Used by 1 function | Uses 0 functions

WC_REST_Orders_V1_Controller::prepare_item_for_database()

Method: Prepare a single order for create.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:452

Used by 2 functions | Uses 5 functions

WC_REST_Orders_V1_Controller::create_base_order()

Method: Create base WC Order object.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:511

Used by 0 functions | Uses 1 function

WC_REST_Orders_V1_Controller::filter_writable_props()

Method: Only return writable props from schema.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php:520

Used by 0 functions | Uses 0 functions
« Previous 1 2 3 Next »
Proudly powered by WordPress