Forums
Home / Plugin: JSON API / How to exclude specific categories ?
(@mcfreder)
8 years, 3 months ago
Hi,
I would like to exclude some category ids from website.com/api/get_category_index for example: 43161,43175
is there a way to query command or a code to filter those categories ?
Thank you,
(@skating507)
7 years, 9 months ago
You need find the file: core.php,and find function:get_category_index.
and change :$args=array( ‘orderby’ => ‘ID’, ‘include’ => ‘2836,6614,33987,18212,1620,36319’ );