wp_remote_get vs. file_get_contents vs. cURL?

Always use wp_remote_get when in a WordPress context. It figures out the correct way, be it curl or something else, and uses that. Simple.

Leave a Comment