Developer – How to Programmatically Generate Express Login Link
The plugin provides a filter, using which you can programmatically generate express login link.
- The target URL (optional): This should be the URL of the page where the user will be redirected after a successful login. The default value is home page URL
- The Email address (required): This should be the Email address of the user for whom you want to generate the express login link.
- The validity (optional): The validity of the generated express login link. e.g. 1 day, 5 days, etc. The default value is 1 month.
- The link text (optional): When the link text is passed, the return value will be HTML code of the link which you can paste on any webpage. If this is not passed, the return value will be the URL only.