Support » Plugin: JSON API » How to exclude specific categories ?

  • 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,

    • This topic was modified 3 years, 4 months ago by mcfreder.
Viewing 1 replies (of 1 total)
  • 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’
    );

Viewing 1 replies (of 1 total)
  • The topic ‘How to exclude specific categories ?’ is closed to new replies.