array(
'Authorization' => 'Basic ' . base64_encode( $consumer_key . ':' . $consumer_secret ),
),
);
$product_response = wp_remote_get( $product_request_url, $product_args );
$product_body = wp_remote_retrieve_body( $product_response );
echo $product_body;

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top