OXIESEC PANEL
- Current Dir:
/
/
opt
/
.wp-cli
/
packages
/
vendor
/
wp-cli
/
entity-command
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/20/2024 11:17:28 AM
rwxr-xr-x
📄
.actrc
129 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📄
.distignore
157 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📄
.editorconfig
591 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📁
.git
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📁
.github
-
03/20/2024 11:17:27 AM
rwxr-xr-x
📄
.gitignore
117 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📄
CONTRIBUTING.md
538 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📄
LICENSE
1.13 KB
03/20/2024 11:17:27 AM
rw-r--r--
📄
README.md
135.65 KB
03/17/2025 08:08:17 AM
rw-r--r--
📄
behat.yml
126 bytes
03/20/2024 11:17:27 AM
rw-r--r--
📄
composer.json
7.04 KB
09/06/2025 12:29:47 PM
rw-r--r--
📄
entity-command.php
2.92 KB
03/17/2025 08:08:17 AM
rw-r--r--
📁
features
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📄
phpcs.xml.dist
3.45 KB
03/17/2025 08:08:17 AM
rw-r--r--
📁
src
-
09/06/2025 12:29:47 PM
rwxr-xr-x
📄
wp-cli.yml
32 bytes
03/20/2024 11:17:27 AM
rw-r--r--
Editing: entity-command.php
Close
<?php use WP_CLI\Utils; if ( ! class_exists( 'WP_CLI' ) ) { return; } $wpcli_entity_autoloader = __DIR__ . '/vendor/autoload.php'; if ( file_exists( $wpcli_entity_autoloader ) ) { require_once $wpcli_entity_autoloader; } WP_CLI::add_command( 'comment', 'Comment_Command' ); WP_CLI::add_command( 'comment meta', 'Comment_Meta_Command' ); WP_CLI::add_command( 'menu', 'Menu_Command' ); WP_CLI::add_command( 'menu item', 'Menu_Item_Command' ); WP_CLI::add_command( 'menu location', 'Menu_Location_Command' ); WP_CLI::add_command( 'network meta', 'Network_Meta_Command', array( 'before_invoke' => function () { if ( ! is_multisite() ) { WP_CLI::error( 'This is not a multisite installation.' ); } }, ) ); WP_CLI::add_command( 'option', 'Option_Command' ); WP_CLI::add_command( 'post', 'Post_Command' ); WP_CLI::add_command( 'post meta', 'Post_Meta_Command' ); WP_CLI::add_command( 'post term', 'Post_Term_Command' ); WP_CLI::add_command( 'post-type', 'Post_Type_Command' ); WP_CLI::add_command( 'site', 'Site_Command' ); WP_CLI::add_command( 'site meta', 'Site_Meta_Command', array( 'before_invoke' => function () { if ( ! is_multisite() ) { WP_CLI::error( 'This is not a multisite installation.' ); } if ( ! function_exists( 'is_site_meta_supported' ) || ! is_site_meta_supported() ) { WP_CLI::error( sprintf( 'The %s table is not installed. Please run the network database upgrade.', $GLOBALS['wpdb']->blogmeta ) ); } }, ) ); WP_CLI::add_command( 'site option', 'Site_Option_Command', array( 'before_invoke' => function () { if ( ! is_multisite() ) { WP_CLI::error( 'This is not a multisite installation.' ); } }, ) ); WP_CLI::add_command( 'taxonomy', 'Taxonomy_Command' ); WP_CLI::add_command( 'term', 'Term_Command' ); WP_CLI::add_command( 'term meta', 'Term_Meta_Command', array( 'before_invoke' => function () { if ( Utils\wp_version_compare( '4.4', '<' ) ) { WP_CLI::error( 'Requires WordPress 4.4 or greater.' ); } }, ) ); WP_CLI::add_command( 'user', 'User_Command' ); WP_CLI::add_command( 'user application-password', 'User_Application_Password_Command', array( 'before_invoke' => function () { if ( Utils\wp_version_compare( '5.6', '<' ) ) { WP_CLI::error( 'Requires WordPress 5.6 or greater.' ); } }, ) ); WP_CLI::add_command( 'user meta', 'User_Meta_Command' ); WP_CLI::add_command( 'user session', 'User_Session_Command', array( 'before_invoke' => function () { if ( Utils\wp_version_compare( '4.0', '<' ) ) { WP_CLI::error( 'Requires WordPress 4.0 or greater.' ); } }, ) ); WP_CLI::add_command( 'user term', 'User_Term_Command' ); if ( class_exists( 'WP_CLI\Dispatcher\CommandNamespace' ) ) { WP_CLI::add_command( 'network', 'Network_Namespace' ); } WP_CLI::add_command( 'user signup', 'Signup_Command', array( 'before_invoke' => function () { if ( ! is_multisite() ) { WP_CLI::error( 'This is not a multisite installation.' ); } }, ) );