Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('wcfm_shipment_disable_order_status', function($status) {
- foreach ($status as $key => $value) {
- if ('pending' == $value) {
- unset($status[$key]);
- }
- }
- return $status;
- });
Advertisement
Add Comment
Please, Sign In to add comment