woocommerce_api_create_order_note_data хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_api_create_order_note_data', 'filter_function_name_5969', 10, 3 ); function filter_function_name_5969( $data, $order_id, $that ){ // filter... return $data; }
- $data
- -
- $order_id
- -
- $that
- -
Где вызывается хук
woocommerce_api_create_order_note_data
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1303
$data = apply_filters( 'woocommerce_api_create_order_note_data', $data, $order_id, $this );
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1348
$data = apply_filters( 'woocommerce_api_create_order_note_data', $data, $order_id, $this );