Exclude the category in WordPress
If retrieve_cat_data_sp is the function from this question then that returns categories except the ones given in the argument: $cat_lists = retrieve_cat_data_sp(’81’); It essentially a wrapper for get_categories. So to exclude multiple Ids $cat_lists = retrieve_cat_data_sp(‘81,82’); If you want to exclude 81 as well as those IDs listed in get_option(‘bn_exclude_home_lists’) then, assuming that option returns … Read more