Handle changed Woocommerce function

It turns out to override the default functionality add_action is the correct method. I added the required attribute part of the get_item_data(), which I needed, before I did my additions and this did the trick.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)