Connect Profile Button Shortcode

This is an enclosing shortcode. It outputs an HTML link to connect the WP profile with the 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 Connect Discord Profile and Disconnect Discord Profile texts.

style - attribute will allow you to add style to the button. Use default for default styling of the button.

hide - will allow you to hide the disconnect button. Use hide to hide the button.

If the WP user is not authorized, the shortcode will output nothing.

Shortcode example:

[argus-discord-connect-profile-button style="default" style="hide"]Time to Connect[/argus-discord-connect-profile-button]

Last updated