Dev Resources

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

WC_REST_Product_Reviews_Controller::handle_status_param()

Method: Sets the comment_status of a given review object when creating or updating a review.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:1128

Used by 2 functions | Uses 0 functions

woocommerce_rest_product_review_collection_params

Filter Hook: Filter collection parameters for the reviews controller.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:1031

Used by 1 function | Uses 0 functions

WC_REST_Product_Reviews_Controller::get_review()

Method: Get the reivew, if the ID is valid.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:1041

Used by 3 functions | Uses 0 functions

WC_REST_Product_Reviews_Controller::normalize_query_param()

Method: Prepends internal property prefix to query parameters to match our response fields.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:1072

Used by 1 function | Uses 0 functions

WC_REST_Product_Reviews_Controller::prepare_status_response()

Method: Checks comment_approved to set comment status for single comment output.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:1100

Used by 1 function | Uses 0 functions

woocommerce_rest_pre_insert_product_review

Filter Hook: Filters a review before it is inserted via the REST API.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:452

Used by 1 function | Uses 0 functions

WC_REST_Product_Reviews_Controller::get_item()

Method: Get a single product review.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:503

Used by 0 functions | Uses 2 functions

WC_REST_Product_Reviews_Controller::update_item()

Method: Updates a review.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:521

Used by 0 functions | Uses 5 functions

WC_REST_Product_Reviews_Controller::delete_item()

Method: Deletes a review.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:607

Used by 0 functions | Uses 4 functions

woocommerce_rest_product_review_trashable

Filter Hook: Filters whether a review can be trashed.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php:624

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