mirror of
https://github.com/proelements/proelements.git
synced 2026-04-06 04:13:48 +00:00
v3.33.1
This commit is contained in:
37
modules/wp-cli/license-command.php
Normal file
37
modules/wp-cli/license-command.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
namespace ElementorPro\Modules\WpCli;
|
||||
|
||||
use ElementorPro\License\Admin;
|
||||
use ElementorPro\License\API;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
/**
|
||||
* Elementor Page Builder Pro cli tools.
|
||||
*/
|
||||
class License_Command extends \WP_CLI_Command {
|
||||
|
||||
/**
|
||||
* Activate Elementor Pro License key.
|
||||
*
|
||||
* ## EXAMPLES
|
||||
*
|
||||
* 1. wp elementor-pro license activate <license-key>
|
||||
* - This will try activate your license key.
|
||||
*/
|
||||
public function activate( $args, $assoc_args ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deactivate Elementor Pro License key.
|
||||
*
|
||||
* ## EXAMPLES
|
||||
*
|
||||
* 1. wp elementor-pro license deactivate.
|
||||
* - This will deactivate your license key.
|
||||
*/
|
||||
public function deactivate() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user