Dev Resources

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

WC_REST_Orders_Controller

Class: REST API Orders controller class.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:19

Used by 1 function | Uses 1 function

WC_REST_Orders_Controller::calculate_coupons()

Method: Calculate coupons.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:36

Used by 1 function | Uses 4 functions

WC_REST_Orders_Controller::prepare_object_for_database()

Method: Prepare a single order for create or update.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:102

Used by 1 function | Uses 2 functions

WC_REST_Orders_Controller::save_object()

Method: Save an object data.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:175

Used by 0 functions | Uses 3 functions

WC_REST_Orders_Controller::prepare_objects_query()

Method: Prepare objects query.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:241

Used by 1 function | Uses 1 function

WC_REST_Orders_Controller::get_item_schema()

Method: Get the Order’s schema, conforming to JSON Schema.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:271

Used by 1 function | Uses 1 function

WC_REST_Orders_Controller::get_collection_params()

Method: Get the query params for collections.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:284

Used by 1 function | Uses 1 function

woocommerce_rest_pre_insert_{$this->post_type}_object

Filter Hook: Filters an object before it is inserted via the REST API.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php:163

Used by 9 functions | Uses 0 functions
Proudly powered by WordPress