Please declare HPOS Support
-
Currently WooCommerce complains that this plugin doesn’t support High-Performance order storage (COT):
? This feature shouldn’t be enabled: the Block Editor For WooCommerce plugin is active and isn’t compatible with it.
Obviously, this plugin has nothing to do with order management, so it should be as simple as declaring compatibility:
add_action( 'before_woocommerce_init', function() { if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); } } );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Please declare HPOS Support’ is closed to new replies.