Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $category_query = new WP_Query([
- 'posts_per_page' => '18',
- 'post_type' => 'product',
- 'tax_query' => [
- [
- 'taxonomy' => 'product_cat',
- 'terms' => 120,
- 'field' => 'id',
- 'include_children' => false
- ]
- ]
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement