Ajax Registeration
-
I am allowing users to register on my website in a custom-made sign-up form. This sign-up form uses Ajax to create and sign up the users. I found that the plugin does not work with the Ajax sign-up.
When I looked in the files, I saw the file lib/core/class-affiliates-users-registration.php. On line 78, there is an if statement checking is_admin() and then checks a filter called “affiliates_user_registration_on_admin”. If is_admin() is true and “affiliates_user_registration_on_admin” is not allowed, it returns.
Since I could not find where to change the filter’s value, I tried to comment it, and then registering using my Ajax sign-up form worked and the Affiliates plugin counted the registration. But it counted it twice.
So my question is, does the plugin allows Ajax registration?
Thanks,
Omer.
- The topic ‘Ajax Registeration’ is closed to new replies.