WordPress at Your Fingertips
filter is not described

woocommerce_rest_prepare_note filter-hook . WC 1.0

Filter a note returned from the API.

Allows modification of the note data right before it is returned.


add_filter( 'woocommerce_rest_prepare_note', 'filter_function_name_241', 10, 3 );
function filter_function_name_241( $response, $data, $request ){
	// filter...

	return $response;
The response object.
The original note.
Request used to generate the response.

Where the hook is called

woocommerce/packages/woocommerce-admin/src/API/Notes.php 492
return apply_filters( 'woocommerce_rest_prepare_note', $response, $data, $request );

Where in WP core the hook is used WooCommerce

Usage not found.