PHP 8.2.31
Preview: woocommerce.php Size: 1.58 KB
/home/nshryvcy/himaltourism.com/wp-content/plugins/woocommerce/woocommerce.php

<?php
/**
 * Plugin Name: WooCommerce
 * Plugin URI: https://woocommerce.com/
 * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
 * Version: 7.5.2
 * Author: Automattic
 * Author URI: https://woocommerce.com
 * Text Domain: woocommerce
 * Domain Path: /i18n/languages/
 * Requires at least: 5.9
 * Requires PHP: 7.2
 *
 * @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();

Directory Contents

Dirs: 10 × Files: 4

Name Size Perms Modified Actions
assets DIR
- drwxr-xr-x 2026-03-03 06:10:16
Edit Download
client DIR
- drwxr-xr-x 2026-03-03 06:10:16
Edit Download
i18n DIR
- drwxr-xr-x 2026-03-03 06:10:17
Edit Download
includes DIR
- drwxr-xr-x 2026-03-03 06:10:18
Edit Download
lib DIR
- drwxr-xr-x 2026-03-03 06:10:16
Edit Download
packages DIR
- drwxr-xr-x 2026-03-03 06:10:16
Edit Download
- drwxr-xr-x 2026-03-03 06:10:19
Edit Download
src DIR
- drwxr-xr-x 2026-03-03 06:10:19
Edit Download
templates DIR
- drwxr-xr-x 2026-03-03 06:10:19
Edit Download
vendor DIR
- drwxr-xr-x 2026-03-03 06:10:19
Edit Download
35.47 KB lrw-r--r-- 2026-03-03 06:10:18
Edit Download
19.00 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
4.71 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
1.58 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).