woocommerce_api_create_order_note action-hookWC 1.0

HTTP 201 Created

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

WC_API_Orders::create_order_note()
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 );

Where the hook is used in WooCommerce

Usage not found.