Showing Discourse notifications in WordPress?

You need to set the cors origins site setting, and turn on DISCOURSE_ENABLE_CORS if you’re self-hosted. After that, it should be easy to request /notifications.json?silent=1.