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
- will allow you to assign text of the button when the Discord profile is not connected.
Disconnect text
- will allow you to assign text of the button when the Discord profile is connected.
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 block will output nothing.
Style
- will allow you to add style to the button.
You can set up a WP role that will be automatically assigned to the WP user if he connects the Discord profile. In the WordPress admin panel go to Settings
--> Discord
and open the General
tab. In the Authorization
subsection, you have a selector to choose this role.
You also have an 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 the General
tab. In the Authorization
subsection, you have the option to enable member auto removal.
Last updated