Remove unnecessary hpos check

This commit is contained in:
Nestor Soriano 2023-09-20 13:37:56 +02:00
parent cb360ac2c2
commit cff83dca10
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 1 additions and 3 deletions

View File

@ -232,9 +232,7 @@ class Edit {
*/
do_action( 'woocommerce_process_shop_order_meta', $this->order->get_id(), $this->order );
if ( wc_get_container()->get( CustomOrdersTableController::class )->custom_orders_table_usage_is_enabled() ) {
$this->custom_meta_box->handle_metadata_changes($this->order);
}
$this->custom_meta_box->handle_metadata_changes($this->order);
// Order updated message.
$this->message = 1;