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 );
		}
	}

Changelog

Changelog
Version Description
4.5.1 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.