/var/www/html_de/wp-content/plugins/woocommerce/packages/email-editor/src/class-package.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
 * Email Editor Container class file.
 *
 * @package Automattic\WooCommerce\EmailEditor
 */

declare( strict_types );
namespace 
Automattic\WooCommerce\EmailEditor;

defined'ABSPATH' ) || exit;

/**
 * Main package class.
 */
class Package {

    
/**
     * Version.
     *
     * @var string
     */
    
const VERSION '0.1.0';

    
/**
     * Init the package.
     *
     * @return void
     */
    
public static function init() {
        
Email_Editor_Container::init();
    }

    
/**
     * Return the version of the package.
     *
     * @return string
     */
    
public static function get_version() {
        return 
self::VERSION;
    }

    
/**
     * Return the path to the package.
     *
     * @return string
     */
    
public static function get_path() {
        return 
dirname__DIR__ );
    }
}