!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/vendor/wp-cli/entity-command/src/   drwxr-xr-x
Free 710.56 GB of 879.6 GB (80.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Post_Term_Command.php (1.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

use WP_CLI\CommandWithTerms;
use WP_CLI\Fetchers\Post as PostFetcher;

/**
 * Adds, updates, removes, and lists post terms.
 *
 * ## EXAMPLES
 *
 *     # Set category post term `test` to the post ID 123
 *     $ wp post term set 123 test category
 *     Success: Set term.
 *
 *     # Set category post terms `test` and `apple` to the post ID 123
 *     $ wp post term set 123 test apple category
 *     Success: Set terms.
 *
 *     # List category post terms for the post ID 123
 *     $ wp post term list 123 category --fields=term_id,slug
 *     +---------+-------+
 *     | term_id | slug  |
 *     +---------+-------+
 *     | 2       | apple |
 *     | 3       | test  |
 *     +----------+------+
 *
 *     # Remove category post terms `test` and `apple` for the post ID 123
 *     $ wp post term remove 123 category test apple
 *     Success: Removed terms.
 *
 */
class Post_Term_Command extends CommandWithTerms {
    protected $obj_type = 'post';

    private $fetcher;

    public function __construct() {
        $this->fetcher = new PostFetcher();
    }

    protected function get_object_type() {
        $post = $this->fetcher->get_check( $this->get_obj_id() );

        return $post->post_type;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.1349 ]--