woocommerce_rest_delete_review

woocommerce_rest_delete_review

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_rest_delete_review') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php line 679
    		 * @param WP_Comment       $review   The deleted review data.
    		 * @param WP_REST_Response $response The response returned from the API.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 */
    		do_action( 'woocommerce_rest_delete_review', $review, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepare a single product review output for response.