fahadmahmood8/stock-locations-for-woocommerce

Inconsistent calls to slw_stock_allocation_notification_message

Closed this issue · 1 comments

In the mail helper, the filter for email message overriding is called twice, with different parameter types.
See below:

$body = apply_filters( 'slw_stock_allocation_notification_message', $message, $term, $quantity, $item );

I added a PR #152 with a fix for this. Feel free to review and merge.

Thank you, already added/merged.