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
- $post - Data of the form submitted
- $form_id - Affiliate ID
- $form_type - Type of the form submitted
- $referral_id - Id of Affiliate
- "sawp_rate_type" (filter hook)
Return referral rate type specific to salesforce, it has two parameters
- $rate_type - Referral rate type
- $affiliate_id - Affiliate ID
- "sawp_rate" (filter hook)
Return referral rate specific to salesforce, it has four parameters
- $salesforce_rate - Referral rate
- $affiliate_id - Affiliate ID
- $rate_type - Referral rate type
- $reference - Referrence of the referral
Before installation please make sure you have latest Salesforce wordpress to lead && AffiliateWP plugins installed.
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress