Quantcast
Channel: woocommerce change order statuses count for specific role - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Hasan Uj Jaman for woocommerce change order statuses count for...

Normally pre_get_post doesn't change wordpress views post count. You have to call another filter hook to change to count. add_action('pre_get_posts', function ($query) {global $pagenow;if...

View Article


Image may be NSFW.
Clik here to view.

woocommerce change order statuses count for specific role

I have two types of admin that can view the orders list. one of the admins just can view some of the orders.I use below code to manipulate orders query for that admin:add_action('pre_get_posts',...

View Article
Browsing latest articles
Browse All 2 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>