woocommerce_api_create_order_note
Usage
add_action( 'woocommerce_api_create_order_note', 'wp_kama_woocommerce_api_create_order_note_action', 10, 3 ); /** * Function for `woocommerce_api_create_order_note` action-hook. * * @param $note_id * @param $order_id * @param $that * * @return void */ function wp_kama_woocommerce_api_create_order_note_action( $note_id, $order_id, $that ){ // action... }
- $note_id
- -
- $order_id
- -
- $that
- -
Where the hook is called
woocommerce_api_create_order_note
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 1367
do_action( 'woocommerce_api_create_order_note', $note_id, $order_id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 1322
do_action( 'woocommerce_api_create_order_note', $note_id, $order_id, $this );