?
Current Path : /home1/savoy/sportsmeet.net/wp-content/plugins/woocommerce/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/sportsmeet.net/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: 4.3.0 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woocommerce * Domain Path: /i18n/languages/ * Requires at least: 5.2 * Requires PHP: 7.0 * * @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'; } /** * Returns the main instance of WC. * * @since 2.1 * @return WooCommerce */ function WC() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid return WooCommerce::instance(); } // Global for backwards compatibility. $GLOBALS['woocommerce'] = WC();