Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
wp-cli
/
embed-command
📤 Upload
📝 New File
📁 New Folder
Close
Editing: embed-command.php
<?php if ( ! class_exists( 'WP_CLI' ) ) { return; } $wpcli_embed_autoloader = __DIR__ . '/vendor/autoload.php'; if ( file_exists( $wpcli_embed_autoloader ) ) { require_once $wpcli_embed_autoloader; } if ( class_exists( 'WP_CLI\Dispatcher\CommandNamespace' ) ) { WP_CLI::add_command( 'embed', '\WP_CLI\Embeds\Embeds_Namespace' ); } WP_CLI::add_command( 'embed fetch', '\WP_CLI\Embeds\Fetch_Command' ); WP_CLI::add_command( 'embed provider', '\WP_CLI\Embeds\Provider_Command' ); WP_CLI::add_command( 'embed handler', '\WP_CLI\Embeds\Handler_Command' ); WP_CLI::add_command( 'embed cache', '\WP_CLI\Embeds\Cache_Command' );
Save
Cancel