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