sign up not working

3.6. How to set custom roles based on the URL where the users sign up?
This filter can be useful if you have two different registration pages, for example one for employers and one for candidates. In this case you can use the following filter to assign new users a role based on the page where they signed up.

Your code for this section is not working for my site www.sarkarisakori.org because i am using WPJobBoard plugin

please solve this

Answers

  • Hi,
    How is it not working?
    If your chosen roles are not used, then one possibility is that the roles are modified after the filter. The filter mentioned in our docs is called before user insertion. Other plugins can modify it later on in the process. But that is only guessing.
Sign In or Register to comment.