Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $number_of_products = count(get_posts([
- 'posts_per_page' => -1,
- 'post_type' => 'product',
- 'author' => $supplier_id,
- ]));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement