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

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

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_delete_review

Action Hook: Fires after a review is deleted via the REST API.

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

Used by 1 function | Uses 0 functions

WC_REST_Product_Reviews_Controller::prepare_item_for_response()

Method: Prepare a single product review output for response.

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

Used by 5 functions | Uses 5 functions

WC_REST_Product_Reviews_Controller::prepare_item_for_database()

Method: Prepare a single product review to be inserted into the database.

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

Used by 2 functions | Uses 1 function

woocommerce_rest_preprocess_product_review

Filter Hook: Filters a review after it is prepared for the database.

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

Used by 1 function | Uses 0 functions

WC_REST_Product_Reviews_Controller::prepare_links()

Method: Prepare links for the request.

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

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