apply_filters( "woocommerce_rest_prepare_{$this->post_type}_object", WP_REST_Response $response, WC_Data $object, WP_REST_Request $request )

Filter the data for a response.


Description Description

The dynamic portion of the hook name, $this->post_type, refers to object type being prepared for the response.


Parameters Parameters

$response

The response object.

$object

Object data.

$request

Request object.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.