PluginProbe
WooCommerce / 11.1.0
WooCommerce v11.1.0
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / packages / email-editor / src / class-package.php
class-package.php
52 lines 732 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Email Editor Container class file.
4 *
5 * @package Automattic\WooCommerce\EmailEditor
6 */
7
8 declare( strict_types = 1 );
9 namespace Automattic\WooCommerce\EmailEditor;
10
11 defined( 'ABSPATH' ) || exit;
12
13 /**
14 * Main package class.
15 */
16 class Package {
17
18 /**
19 * Version.
20 *
21 * @var string
22 */
23 const VERSION = '0.1.0';
24
25 /**
26 * Init the package.
27 *
28 * @return void
29 */
30 public static function init() {
31 Email_Editor_Container::init();
32 }
33
34 /**
35 * Return the version of the package.
36 *
37 * @return string
38 */
39 public static function get_version() {
40 return self::VERSION;
41 }
42
43 /**
44 * Return the path to the package.
45 *
46 * @return string
47 */
48 public static function get_path() {
49 return dirname( __DIR__ );
50 }
51 }
52