X-WP-Total and X-WP-TotalPages showing wrong results
-
I activated WooCommerce REST-API (not using webhooks) and im trying to get X-WP-Total and X-WP-TotalPages back.
When I try to access the result with this: example.com/wp-json/wc/v2/taxes?consumer_key=ck_xxxxxxxxxxxxxxx&consumer_secret=cs_xxxxxxxxxxxxxxx X-WP-Total and X-WP-TotalPages always has this result:
X-WP-Total: 10 X-WP-TotalPages: 1
It should be 6 TotalPages and 56 single results. This should be the correct result.
I tried a lot of things, like disabling plugins to check if some are causing this, but I cant get it.
What am I doing wrong? I should be able to get the correct results through normal REST-API without webhooks, right?!
Anyone of you with some idea why this is happening?
Thanks in advance for your help!
- The topic ‘X-WP-Total and X-WP-TotalPages showing wrong results’ is closed to new replies.