I am considering using the wp_remote_get() function in a WordPress project I am building to import an external XML feed to update WooCommerce products. What I am concerned with is this XML feed could be very large and storing this data in a PHP variable might end up being a memory problem. Is wp_remote_get() the correct function to use and what might I do to ensure that I don't run into memory issues?
↧