wp query – How does ‘category__not_in’ differ to cat => ‘-1’?
Question
As the title reads, I’d like to exclude certain categories. It appears I can either use 'category__not_in'
or cat
to prune the list. I’m unsure if one is better than the other and if so how. WP VIP for example recommends staying away from post__not_in
so does 'category__not_in'
fall in the same camp?
0
9 months
2022-09-14T23:13:42-05:00
2022-09-14T23:13:42-05:00 0 Answers
0 views
0
Leave an answer