$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>categories - Taxonomy term RestApi data 10 rows limitions|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

categories - Taxonomy term RestApi data 10 rows limitions

matteradmin9PV0评论

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
Post a comment

comment list (0)

  1. No comments so far