I would like to add filtering roles to the order page. I have used something like this


and it works perfectly though … unfortunately, there has to be conflict because this piece of code stops working:


I will be very grateful for your help in resolving this issue.

Read more here: Order WooCommerce orders per user role – conflict


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: