Hi there,
Is it possible to give the affiliates, sign up bonus? [Aff. Pro]
Sign Up Bonus
Posted in Affiliates Pro
Hi there,
Is it possible to give the affiliates, sign up bonus? [Aff. Pro]
Follow us! We post news and tutorials related to our tools, WordPress and WooCommerce on these platforms:
Earnings , : 10 instead of 0
Hi,
you can use “affiliates_added_affiliate” hook, for example:
add_action( 'affiliates_added_affiliate', 'affiliates_initial_bonus' );
function affiliates_initial_bonus( $aff_id ) {
$description = "Initial Bonus";
$amount = 10;
$currency_id = "USD";
if ( class_exists( 'Affiliates_Referral_WordPress' ) ) {
$r = new Affiliates_Referral_WordPress();
$r->add_referrals( array( $aff_id ), null, $description, null, null, $amount, $currency_id);
} else {
affiliates_add_referral( $aff_id, null, $description, null, $amount, $currency_id);
}
}
cheers
I checked the comments. I meant when people sign up automatically they get 10 dollar for example. Is there a way to do that?
Hi,
please take a look to this plugin.
cheers