PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/craftsperks.online/wp-content/plugins/woocommerce/includes/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/craftsperks.online/wp-content/plugins/woocommerce/includes/class-wc-cli.php |
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Enables WooCommerce, via the the command line. * * @version 3.0.0 * @package WooCommerce * @author WooCommerce */ class WC_CLI { /** * Load required files and hooks to make the CLI work. */ public function __construct() { $this->includes(); $this->hooks(); } /** * Load command files. */ private function includes() { require_once __DIR__ . '/cli/class-wc-cli-runner.php'; require_once __DIR__ . '/cli/class-wc-cli-rest-command.php'; require_once __DIR__ . '/cli/class-wc-cli-tool-command.php'; require_once __DIR__ . '/cli/class-wc-cli-update-command.php'; } /** * Sets up and hooks WP CLI to our CLI code. */ private function hooks() { WP_CLI::add_hook( 'after_wp_load', 'WC_CLI_Runner::after_wp_load' ); WP_CLI::add_hook( 'after_wp_load', 'WC_CLI_Tool_Command::register_commands' ); WP_CLI::add_hook( 'after_wp_load', 'WC_CLI_Update_Command::register_commands' ); } } new WC_CLI;