Connect Profile Button Block
This block outputs an HTML link to connect the WP profile with the Discord profile. You can use block settings to alter its behavior.
Connect text - this will allow you to assign text to the button when the Discord profile is not connected.
Disconnect text - this will allow you to assign text to the button when the Discord profile is connected.
Hide disconnect button - this will allow you to hide the disconnect button.
If text is not set, the default display will switch between Connect Discord Profile
and Disconnect Discord Profile
texts.
If the WP user is not authorized, the block will output nothing.
Styles - will allow you to add style to the button.
You can set up a WP role automatically assigned to the WP user if he connects to the Discord profile. In the WordPress admin panel, go to Settings --> Discord and open a Synchronization tab. In the Roles Synchronization subsection, you have a selector to choose this role.
You also have the option to remove the member from your guild when his Discord profile is disconnected from the WP profile. In the WordPress admin panel, go to Settings --> Discord and open an Authorization tab. In the Filters subsection, you can enable member auto removal.
Last updated