Astra_Addon_Admin_Loader::declare_woo_compatibility()
Declare Woo HPOS & New Product Editor Compatibility.
Description
Return
(void)
Source
File: admin/core/class-astra-addon-admin-loader.php
public function declare_woo_compatibility() { if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', ASTRA_EXT_FILE, true ); \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'product_block_editor', ASTRA_EXT_FILE, true ); } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.5.1 | Introduced. |