Change Woocommerce Order Status based on Shipping Method
问题 The idea here is that when an order comes in with an "express delivery" as Shipping Method, the order status is updated to On-Hold. As there I have some different "express delivery" Shipping Method rates I thought that by using stristr() to see if the word 'express' appears anywhere in the formatted shipping method title. But I seem to be missing something as I don't get anything. How can I check if the Order shipping method is an "express delivery" to be able to update the order status? Here