woocommerce_coupons_enabled

woocommerce_coupons_enabled

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_coupons_enabled') is found 1 times:

  • /includes/wc-coupon-functions.php line 71
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    *
     * @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