affwp_insert_pending_referral hook

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