Accessing Discourse user avatar in WP functions.php

No, a similar hook has not been added for when WordPress is the SSO client. Unfortunately, it is not as straightforward to add the hook for this case as it was for the case of when WordPress is the SSO provider.

I’ll be looking at the SSO client code over the next week. If there’s anyway I can add a hook that will allow the Discourse user to be retrieved after logging in via Discourse, I will add it.