WooNinjas Salesforce WP to Lead with AffiliateWP

0

This add-on enables you to create AffiliateWP referrals on submitting Salesforce WordPress to Lead plugin forms. You will be able to decide which forms would create an affiliate referra

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

This add-on enables you to create AffiliateWP referrals on submitting Salesforce WordPress to Lead plugin forms. You will be able to decide which forms would create an affiliate referrals. It gives you the option to add referral rate types and referral rates specific to the referrals created using salesforce wordpress to lead forms.

For any further support or assistance for the plugin kindly reach out us at WooNinjas

Prerequisites:

  • WordPress
  • AffiliateWP
  • Salesfrce wordpress to lead

Features:

  • Create referrals on submitting salesforce wordpress to lead forms
  • Option to enable referrals on submitting salesforce wordpress to lead forms
  • Option to enable referrals for specific salesforce wordpress to lead form
  • Option to disable referrals for specific salesforce wordpress to lead form
  • Option to add referral rate type for specific salesforce wordpress to lead form
  • Option to add referral rate for specific salesforce wordpress to lead form

Hooks & Filters:

  • “sawp_referral_created” (action hook)
    Runs after creating referrals, it has four parameters

    1. $post – Data of the form submitted
    2. $form_id – Affiliate ID
    3. $form_type – Type of the form submitted
    4. $referral_id – Id of Affiliate
  • “sawp_rate_type” (filter hook)
    Return referral rate type specific to salesforce, it has two parameters

    1. $rate_type – Referral rate type
    2. $affiliate_id – Affiliate ID
  • “sawp_rate” (filter hook)
    Return referral rate specific to salesforce, it has four parameters

    1. $salesforce_rate – Referral rate
    2. $affiliate_id – Affiliate ID
    3. $rate_type – Referral rate type
    4. $reference – Referrence of the referral