Connect Profile Shortcode
This is an enclosing shortcode. It returns an HTML link to connect the WP profile with the Discord profile. You can set shortcode attributes to alter its behavior.
Content of shortcode - is a text of the link. If text is not set the default display will switch between Connect Discord Profile
and Disconnect Discord Profile
texts.
If WP user is not authorized shortcode will return nothing.
Shortcode example:
You can enable Discord styling for this authorization and comments buttons in the WordPress admin panel go to Settings
--> Discord
and scroll down to Settings
section. In Styling
subsection you have the option to add styling to authorization buttons.
Last updated