Add service to check if WC Bookings is active

This commit is contained in:
Narek Zakarian 2024-07-22 18:18:52 +04:00
parent 2c6d84c32c
commit 7ba58ab98a
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -83,6 +83,9 @@ return array(
'compat.wc_shipping_tax.is_supported_plugin_version_active' => function (): bool {
return class_exists( 'WC_Connect_Loader' );
},
'compat.wc_bookings.is_supported_plugin_version_active' => function (): bool {
return class_exists( 'WC_Bookings' );
},
'compat.module.url' => static function ( ContainerInterface $container ): string {
/**