We are another plugin developer that has encountered a conflict with your plugin. The core of the issue is the use of PHP_INT_MAX for the priority of the woocommerce_after_calculate_totals hook.
Is it possible for you to change this to a defined constant so that it can be controlled via wp-config.php ?
Or can you add a do_action() at the end of your calculations so that other plugins can still function with this plugin is installed? As it stands, our gift cards plugin breaks when your plugin is installed and I can’t find a way around it currently.
We’re open to any suggestions on how to have your plugin play nice with ours!
- The topic ‘Priority PHP_INT_MAX for woocommerce_after_calculate_totals’ is closed to new replies.