woocommerce_api_edit_order_note_data filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_api_edit_order_note_data', 'filter_function_name_5859', 10, 4 ); function filter_function_name_5859( $data, $comment_ID, $order_id, $that ){ // filter... return $data; }
- $data
- -
- $comment_ID
- -
- $order_id
- -
- $that
- -
Where the hook is called
woocommerce_api_edit_order_note_data
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1377
$data = apply_filters( 'woocommerce_api_edit_order_note_data', $data, $note->comment_ID, $order->get_id(), $this );
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1422
$data = apply_filters( 'woocommerce_api_edit_order_note_data', $data, $note->comment_ID, $order->get_id(), $this );