Authorization Button Shortcode
This is an enclosing shortcode. It outputs an HTML link for authorization with a Discord profile. You can set shortcode attributes to alter its behavior.
The text in the shortcode - is the text of the button. If text is not set, the default display will switch between Logout
and Login with Discord
texts.
redirect - attribute will allow you to choose where a user should be redirected after successful authorization. last
- is the page where the button is located. prev
- is one page before the last page.
style - attribute will allow you to add style to the button. Use default
for default styling of the button.
Shortcode example:
Last updated