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 badges1 Answer
Reset to default 0Querying 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