1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
namespace Objectiv\Plugins\Checkout\Compatibility\Themes;
use Objectiv\Plugins\Checkout\Compatibility\CompatibilityAbstract;
class Stockie extends CompatibilityAbstract { public function is_available(): bool { return function_exists( 'stockie_comment' ); }
function run_on_update_checkout() { $this->run(); }
function run() { remove_action( 'woocommerce_after_checkout_form', 'woocommerce_checkout_coupon_form' ); remove_filter( 'woocommerce_cart_item_name', 'stockie_add_cart_product_category', 99 ); } }
|