Add `woocommerce_order_note_added` action
This action provides an easier way to perform an action when a non-customer order note is added.
This commit is contained in:
parent
3763d3b428
commit
9cddd9ae18
|
@ -1731,6 +1731,8 @@ class WC_Order extends WC_Abstract_Order {
|
|||
);
|
||||
}
|
||||
|
||||
do_action( 'woocommerce_order_note_added', $comment_id, $this );
|
||||
|
||||
return $comment_id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue