Very good tips for WP devs, just ran into this myself with one of our new plugins. We had used wp_remote_get/post everywhere except in one place where I had a moment of weakness and used file_get_contents(). I was kicking myself when we realized file_get_contents() is blocked on many web hosts, and swapped it over to wp_remote_get() which allowed us to troubleshoot errors much better!
Hey there, very nice article! Just a small correction, you did mentioned wp_remote_put() function on the 5th paragraph of the "They Are Very Capable" section, but I think you meant wp_remote_head() 😉
Hey Ilán!
I indeed meant so say wp_remote_head(), the put method is discussed further down. It's been updated. Many thanks for pointing that out.
Why would you do that.. http client guzzle (recent releases), symfony client (interopability) and so many client has evolved.. wp really's too old for the ecosystem :/
Thanks you very much!