Hello @mixer,
On this case please change that code for this:
$wp_subs = new wp_subscribe_reloaded();
$wp_subs->strc->add_subscription($my_id, $your_email);
Regards.!!
Thread Starter
mixer
(@mixer)
The code only works with the third parameter, like
$wp_subs->strc->add_subscription($my_id, $your_email, 'Y');
But all it suits me. I corrected code.
Everything is working.
Thank you!
The code only works with the third parameter, like
$wp_subs->strc->add_subscription($my_id, $your_email, ‘Y’);
Looks strange because on the function the value of the third parameter is set to Y as default, so if no parameter is given then that value is going to be set.
Thread Starter
mixer
(@mixer)
Strangely, today checked – was a mistake.
Now again I check everything works without an argument.
Nevertheless, thank you!