Simple JWT Login MailPoet – Login users from newsletter

The Simple JWT Login MailPoet plugin is an add-on for the Simple-Jwt-Login plugin.
It allows you to seamlessly log users into your WordPress site using a JWT generated from MailPoet newsletters.

Simple shortcode example:

This shortcode will generate a link, with the text “Login”

Available shortcode parameters:
– text : The text for the link
– class: Class added for the link
– style: Custom CSS added to the link
– validity: The number of seconds a JWT is valid
– authCode: Auth Code that is required by Autologin. You will find this in Simple-JWT-Login plugin -> Auth Codes
– redirectUrl: This URL will overwrite the SimpleJWTLogin settings, and it will specify where users will be redirected after autologin.
– isUrl: When this parameter is provided, the shortcode will return only the autologin URL

Full short code example:

This example will generate a red link, with the text “Login”.

You can also customize the shortcode to just return the URL.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录