woocommerce_coupons_enabled

woocommerce_coupons_enabled

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_coupons_enabled') is found 1 times:

  • /includes/wc-coupon-functions.php line 71
     *
     * @return bool
     */
    function wc_coupons_enabled() {
    	return apply_filters( 'woocommerce_coupons_enabled', 'yes' === get_option( 'woocommerce_enable_coupons' ) );
    }
    
    /**
     * Get coupon code by ID.
     *
     * @since 3.0.0