<?php

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}


class WCiPressoConfig
{
    /**
     * @var string
     */
    public static $REST_API_ENDPOINT = '{{ IPRESSO_API_URL }}';
    /**
     * @var string
     */
    public static $VERSION = '2.0.0';

    public static $INTEGRATION_NAME = 'Woocommerce';

    public static function getWordpressVersion(): string
    {
        global $wp_version;
        return $wp_version;
    }

    public static function getWoocommerceDomain(): string
    {
        return get_permalink( wc_get_page_id( 'shop' ) );
    }
}