apply_filters( 'woocommerce_rest_prepare_note', AutomatticWooCommerceAdminAPIWP_REST_Response $response , array $data , AutomatticWooCommerceAdminAPIWP_REST_Request $request )
Filter a note returned from the API.
Description Description
Allows modification of the note data right before it is returned.
Parameters Parameters
- $response
-
The response object.
- $data
-
The original note.
- $request
-
Request used to generate the response.
Source Source
File: packages/woocommerce-admin/src/API/Notes.php