Hi,
Im currently calling the rest api (<site_base_url>/wp-json/wcfmmp/v1/orders/) to receive the orders of a vendor.
(calling this via jquery from frontend)
This is working but in order to implement proper pagination i need the page count and total order count.
It seems, that the
X-WP-Total
X-WP-TotalPages
Headers are not included in the response. I gett null if i try to get these.
But the header
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
is set, but no data for them.
Is this a bug? Or do you have any suggestions
Best Regards
JD