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.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.