GRAYBYTE WORDPRESS FILE MANAGER1030

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-content/plugins/woocommerce/src/Internal/EmailEditor/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-content/plugins/woocommerce/src/Internal/EmailEditor//Package.php
<?php

declare( strict_types=1 );

namespace Automattic\WooCommerce\Internal\EmailEditor;

defined( 'ABSPATH' ) || exit;

/**
 * This class is used to initialize the email editor package.
 *
 * It is a wrapper around the Automattic\WooCommerce\EmailEditor\Package class and
 * ensures that the email editor package is only initialized if the block editor feature flag is enabled.
 */
class Package {
	/**
	 * Version.
	 *
	 * @var string
	 */
	const VERSION = \Automattic\WooCommerce\EmailEditor\Package::VERSION;

	/**
	 * Package active.
	 *
	 * @var bool
	 */
	private static $package_active = false;

	/**
	 * Init the package.
	 *
	 * @internal
	 */
	final public static function init() {
		self::$package_active = get_option( 'woocommerce_feature_block_email_editor_enabled', 'no' ) === 'yes'; // init is called pretty early. Cant use FeaturesUtil.

		// we only want to initialize the package if the block editor feature flag is enabled.
		if ( ! self::$package_active ) {
			return;
		}

		self::initialize();
		\Automattic\WooCommerce\EmailEditor\Package::init();
	}

	/**
	 * Return the version of the package.
	 *
	 * @return string
	 */
	public static function get_version() {
		return \Automattic\WooCommerce\EmailEditor\Package::get_version();
	}

	/**
	 * Return the path to the package.
	 *
	 * @return string
	 */
	public static function get_path() {
		return \Automattic\WooCommerce\EmailEditor\Package::get_path();
	}

	/**
	 * Initialize the email editor integration by fetching the class from the container.
	 *
	 * @return void
	 */
	public static function initialize() {
		$container = wc_get_container();
		$container->get( Integration::class );
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
EmailPatterns
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
EmailTemplates
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
PersonalizationTags
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
Renderer
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
WCTransactionalEmails
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:19
giriqfky / giriqfky
0644
BlockEmailRenderer.php
4.243 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
EmailApiController.php
3.837 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
Integration.php
11.909 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
Package.php
1.636 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
PageRenderer.php
8.274 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
PersonalizationTagManager.php
2.197 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
TransactionalEmailPersonalizer.php
2.693 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644
WooContentProcessor.php
2.83 KB
May 12 2025 21:07:28
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF