Skip to content

Commit

Permalink
Merge branch 'refs/heads/develop' into release/7.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Apr 26, 2024
2 parents a951d16 + a91fbc3 commit 9962075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MerchantCapture/OrderListPaymentColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Mollie\WooCommerce\MerchantCapture;

use Automattic\WooCommerce\Admin\Overrides\Order;
use WC_Order;
use Mollie\WooCommerce\MerchantCapture\UI\StatusRenderer;

class OrderListPaymentColumn
Expand All @@ -16,7 +16,7 @@ public function __construct()

# HPOS hooks
add_filter('woocommerce_shop_order_list_table_columns', [$this, 'renderColumn']);
add_action('woocommerce_shop_order_list_table_custom_column', function (string $column, Order $order) {
add_action('woocommerce_shop_order_list_table_custom_column', function (string $column, WC_Order $order) {
$this->renderColumnValue($column, $order->get_id());
}, 10, 2);
}
Expand Down

0 comments on commit 9962075

Please sign in to comment.