You can do this by setting the logout redirect site setting on your Discourse forum to the home URL of your WordPress site and adding the query parameter ?request=logout. For example:
https://example.com/?request=logout
You can do this by setting the logout redirect site setting on your Discourse forum to the home URL of your WordPress site and adding the query parameter ?request=logout. For example:
https://example.com/?request=logout