php – JSON REST API WordPress only showing first 10 categories

Question

Alphabetically ordered categories are shown first (first 10). If I try to show all categories in JSON / WordPress, it’s not showing it.

So, imagine these are the categories:

A
B
C
D
E
F
G
H
I
J
K (=10)
L = not shown anymore

How can I make sure I fetch them all?

I am trying to fetch them in Dart via JSON, so I can only pass that to Dart. Is there a way I can achieve this?

0
johan 1 month 2021-10-25T16:13:44-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse