Dev Resources

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

WC_REST_Coupons_V2_Controller::get_collection_params()

Method: Get the query params for collections of attachments.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:530

Used by 1 function | Uses 1 function

WC_REST_Coupons_V2_Controller::filter_writable_props()

Method: Only return writable props from schema.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:252

Used by 0 functions | Uses 0 functions

WC_REST_Coupons_V2_Controller::prepare_object_for_database()

Method: Prepare a single coupon for create or update.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:263

Used by 0 functions | Uses 5 functions

WC_REST_Coupons_V2_Controller::get_item_schema()

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

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:328

Used by 1 function | Uses 1 function

WC_REST_Coupons_V2_Controller

Class: REST API Coupons controller class.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:19

Used by 1 function | Uses 1 function

WC_REST_Coupons_V2_Controller::register_routes()

Method: Register the routes for coupons.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:45

Used by 0 functions | Uses 1 function

WC_REST_Coupons_V2_Controller::get_object()

Method: Get object.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:130

Used by 0 functions | Uses 1 function

WC_REST_Coupons_V2_Controller::get_formatted_item_data()

Method: Get formatted item data.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:141

Used by 1 function | Uses 2 functions

WC_REST_Coupons_V2_Controller::prepare_object_for_response()

Method: Prepare a single coupon output for response.

Source: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php:204

Used by 0 functions | Uses 2 functions

WC_REST_Coupons_V2_Controller::prepare_objects_query()

Method: Prepare objects query.

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

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