Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
wp-cli
/
shell-command
📤 Upload
📝 New File
📁 New Folder
Close
Editing: shell-command.php
<?php if ( ! class_exists( 'WP_CLI' ) ) { return; } $wpcli_shell_autoloader = __DIR__ . '/vendor/autoload.php'; if ( file_exists( $wpcli_shell_autoloader ) ) { require_once $wpcli_shell_autoloader; } WP_CLI::add_command( 'shell', 'Shell_Command' );
Save
Cancel