Dev Resources

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

WC_REST_Coupons_V1_Controller::prepare_item_for_response()

Method: Prepare a single coupon output for response.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:149

Used by 2 functions | Uses 4 functions

WC_REST_Coupons_V1_Controller::filter_writable_props()

Method: Only return writable props from schema.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:226

Used by 0 functions | Uses 0 functions

WC_REST_Coupons_V1_Controller::prepare_item_for_database()

Method: Prepare a single coupon for create or update.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:236

Used by 1 function | Uses 5 functions

WC_REST_Coupons_V1_Controller::create_item()

Method: Create a single item.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:307

Used by 0 functions | Uses 3 functions

WC_REST_Coupons_V1_Controller::update_item()

Method: Update a single coupon.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:346

Used by 0 functions | Uses 3 functions

WC_REST_Coupons_V1_Controller::save_coupon()

Method: Saves a coupon to the database.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:386

Used by 2 functions | Uses 1 function

WC_REST_Coupons_V1_Controller::get_item_schema()

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

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:408

Used by 1 function | Uses 1 function

WC_REST_Coupons_V1_Controller::get_collection_params()

Method: Get the query params for collections of attachments.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:568

Used by 1 function | Uses 1 function

WC_REST_Coupons_V1_Controller

Class: REST API Coupons controller class.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:23

Used by 0 functions | Uses 1 function

WC_REST_Coupons_V1_Controller::__construct()

Method: Coupons actions.

Source: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php:49

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