woocommerce / woocommerce-order-source-attribution

WooCommerce Order Source Attribution helps merchants understand which marketing activities, channels or campaigns are leading to orders in their stores.
https://github.com/woocommerce/woocommerce-order-source-attribution
5 stars 0 forks source link

Ensure we're hooking to the proper screen for meta boxes #12

Closed JPry closed 1 year ago

JPry commented 1 year ago

The HPOS Documentation indicates that we should use the Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController class to check if HPOS is enabled. We should then change the screen ID that the meta box is registered to.