Updating an order status to one that I create does not work for me in WooCommerce – WordPress
When I change the status of an order to a new custom status, it returns to the status it had before. add_filter( 'wc_order_statuses', function ( $order_statuses ) { $new_order_statuses = array(); foreach ( $order_statuses as $key => $status ) {…