rest_delete_product_review

rest_delete_product_review

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('rest_delete_product_review') is found 1 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php line 430
    		 * @param object           $product_review  The deleted item.
    		 * @param WP_REST_Response $response        The response data.
    		 * @param WP_REST_Request  $request         The request sent to the API.
    		 */
    		do_action( 'rest_delete_product_review', $product_review, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepare a single product review output for response.