Filter wc_iikocloud_order_comment

To add additional data to an order comment when exporting it, you need to use the wc_iikocloud_order_comment filter.

An example of using the wc_iikocloud_order_comment filter:

1
add_filter( 'wc_iikocloud_order_comment', 'add_something_to_order_comment', 99, 2 );
2
​
3
function add_something_to_order_comment( $comment, $order_id ): string {
4
return $comment . 'Something';
5
}