|
|
@@ -3,7 +3,7 @@
|
|
|
* Plugin Name: QDR - Studiou WC Mandatory Products
|
|
|
* Plugin URI: https://www.quadarax.com/plugins/studiou-wc-mandatory-products
|
|
|
* Description: Extends WooCommerce to add mandatory products to cart based on product categories.
|
|
|
- * Version: 1.0.0
|
|
|
+ * Version: 1.1.1
|
|
|
* Requires at least: 6.7.2
|
|
|
* Requires PHP: 8.2
|
|
|
* Author: Dalibor Votruba
|
|
|
@@ -64,9 +64,9 @@ if (!class_exists('StudioU_WC_Mandatory_Products')) {
|
|
|
* Define plugin constants
|
|
|
*/
|
|
|
private function define_constants() {
|
|
|
- define('STUDIOU_WCMP_VERSION', '1.0.0');
|
|
|
- define('STUDIOU_WCMP_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
|
|
- define('STUDIOU_WCMP_PLUGIN_URL', plugin_dir_url(__FILE__));
|
|
|
+ if (!defined('STUDIOU_WCMP_VERSION')) define('STUDIOU_WCMP_VERSION', '1.1.1');
|
|
|
+ if (!defined('STUDIOU_WCMP_PLUGIN_DIR')) define('STUDIOU_WCMP_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
|
|
+ if (!defined('STUDIOU_WCMP_PLUGIN_URL')) define('STUDIOU_WCMP_PLUGIN_URL', plugin_dir_url(__FILE__));
|
|
|
}
|
|
|
|
|
|
/**
|