Synchronize Profile Button Shortcode
This is an enclosing shortcode. It outputs an HTML link to start the synchronization of Discord profile data and roles in both directions. You can set shortcode attributes to alter its behavior.
Text of the link - is a text of the link. If text is not set the default display will be Synchronize Data text.
style - attribute will allow you to add style to the button. default - is the default styling of the button.
If WP user is not authorized or Discord profile is not connected shortcode will output nothing.
Shortcode example:
1
[dwpp-sync-user-button]Time to Synchronize[/dwpp-sync-user-button]
Copied!
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 modified 16d ago
Copy link