woocommerce_api_delete_order_note
Usage
add_action( 'woocommerce_api_delete_order_note', 'wp_kama_woocommerce_api_delete_order_note_action', 10, 3 ); /** * Function for `woocommerce_api_delete_order_note` action-hook. * * @param $comment_ID * @param $order_id * @param $that * * @return void */ function wp_kama_woocommerce_api_delete_order_note_action( $comment_ID, $order_id, $that ){ // action... }
- $comment_ID
- -
- $order_id
- -
- $that
- -
Where the hook is called
woocommerce_api_delete_order_note
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1493
do_action( 'woocommerce_api_delete_order_note', $note->comment_ID, $order_id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1448
do_action( 'woocommerce_api_delete_order_note', $note->comment_ID, $order_id, $this );