affwp_complete_referral filter

Fixes: https://github.com/affiliatewp/AffiliateWP/issues/297