Status_Command
Unified status command for CRP.
Namespace: WebberZone\Contextual_Related_Posts\Pro\CLI
Since: 4.2.0
Source: includes/pro/cli/class-status-command.php line 27
Extends: Base_Command
Methods
__construct()
Constructor.
Line: 43
public function __construct( Status_Service $status_service );
| Type | Name | Description |
|---|---|---|
Status_Service |
$status_service |
Plugin status service. |
__invoke()
Show comprehensive status of all CRP components.
OPTIONS
[–format=
[–verbose] : Show detailed output.
EXAMPLES
wp crp status
wp crp status --format=json
wp crp status --verbose
Line: 67
public function __invoke( array $args, array $assoc_args ): void;
| Type | Name | Description |
|---|---|---|
array |
$args |
Command arguments. |
array |
$assoc_args |
Command associative arguments. |
Returns: void