Currently you are using file_get_contents() to send a post request to the Open Badges email-to-userId converter. This breaks on many setups. Should use wp_remote_post() instead, which has fallbacks for cURL and a number of different transport methods.
Currently you are using
file_get_contents()
to send a post request to the Open Badges email-to-userId converter. This breaks on many setups. Should usewp_remote_post()
instead, which has fallbacks for cURL and a number of different transport methods.