Server IP : 15.235.198.142 / Your IP : 216.73.216.0 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/yme/wp-content/plugins/elementor-pro/modules/wp-cli/ |
Upload File : |
<?php namespace ElementorPro\Modules\WpCli; use Elementor\Core\Base\Module as BaseModule; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Module extends BaseModule { /** * Get module name. * * @since 2.1.0 * @access public * * @return string Module name. */ public function get_name() { return 'wp-cli'; } public static function is_active() { return defined( 'WP_CLI' ) && WP_CLI; } /** * * @since 2.1.0 * @access public */ public function __construct() { \WP_CLI::add_command( 'elementor-pro license', '\ElementorPro\Modules\WpCli\License_Command' ); \WP_CLI::add_command( 'elementor-pro update', '\ElementorPro\Modules\WpCli\Update' ); \WP_CLI::add_command( 'elementor-pro theme-builder', '\ElementorPro\Modules\WpCli\ThemeBuilder' ); } }