• File: class-package.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woocommerce/packages/email-editor/src/class-package.php
  • Date Modified: 06/23/2025 12:46 PM
  • File size: 732 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Email Editor Container class file.
 *
 * @package Automattic\WooCommerce\EmailEditor
 */

declare( strict_types = 1 );
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__ );
	}
}