categories - Taxonomy term RestApi data 10 rows limitions

admin2025-06-03  2

i have created a pod taxonomy(Products) in Wordpress ... i have 16 item of terms(categories) for product taxonomy ... but after going to this routes : http://...../wp-json/wp/v2/product_categories , in RestApi , it gives me just 10 row(arrays) of object ...

i want to have more that 10 rows(ids) of Api Data in term of taxonomies in Wordpress ...

how can i can get full arrays of terms in restApi ? is it somthing with php coding in theme php files or no just in pod admin plugin settings?

i have created a pod taxonomy(Products) in Wordpress ... i have 16 item of terms(categories) for product taxonomy ... but after going to this routes : http://...../wp-json/wp/v2/product_categories , in RestApi , it gives me just 10 row(arrays) of object ...

i want to have more that 10 rows(ids) of Api Data in term of taxonomies in Wordpress ...

how can i can get full arrays of terms in restApi ? is it somthing with php coding in theme php files or no just in pod admin plugin settings?

Share Improve this question edited Feb 2, 2019 at 9:15 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Feb 2, 2019 at 6:48 Arash AmmarlooiArash Ammarlooi 12 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Querying custom taxonomy terms is the same as querying categories, and as you can see from the docs you can change the number returned using the per_page argument:

http://...../wp-json/wp/v2/product_categories?per_page=100
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748951716a315100.html

最新回复(0)