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

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

WC_REST_Product_Reviews_Controller::get_item_schema()

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

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

Used by 0 functions | Uses 0 functions

WC_REST_Product_Reviews_Controller::get_collection_params()

Method: Get the query params for collections.

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

Used by 2 functions | Uses 1 function

WC_REST_Product_Reviews_Controller::get_items()

Method: Get all reviews.

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

Used by 0 functions | Uses 5 functions

woocommerce_rest_product_review_query

Filter Hook: Filters arguments, before passing to WP_Comment_Query, when querying reviews via the REST API.

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

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