replace file_get_contents with wp_remote_get