Tagged Questions
2
votes
1answer
219 views
Storing an XML Response (Transient)?
Haven't worked much with XML so I'm hitting a bit of a wall:
function getapi()
{
$api_response = wp_remote_get( "http://example.com/getXML" );
$data = wp_remote_retrieve_body( ...