mirror of
https://ghproxy.net/https://github.com/igorhrcek/wp-cli-secure-command.git
synced 2026-02-23 21:59:32 +08:00
13 lines
No EOL
239 B
PHP
13 lines
No EOL
239 B
PHP
<?php
|
|
|
|
namespace WP_CLI_Secure;
|
|
|
|
if (!class_exists('WP_CLI')) {
|
|
return;
|
|
}
|
|
|
|
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
|
|
require_once __DIR__ . '/vendor/autoload.php';
|
|
}
|
|
|
|
\WP_CLI::add_command('secure', SecureCommand::class); |