Doctor_Command
in package
`wp creacaptcha doctor`
Table of Contents
Methods
- __invoke() : void
- Runs the diagnostic checklist and prints a status table.
Methods
__invoke()
Runs the diagnostic checklist and prints a status table.
public
__invoke(array<int, string> $args, array<string, string> $assoc_args) : void
Exit code 1 if at least one check is error, 0 otherwise.
Third-party modules can extend the list via the
creationell_captcha_doctor_checks filter. Filter receives the array
of checks (each [check => string, status => 'ok'|'warn'|'error', meldung => string]) and must return the same shape.
OPTIONS
[--format=
EXAMPLES
wp creacaptcha doctor
Parameters
- $args : array<int, string>
-
Positional arguments.
- $assoc_args : array<string, string>
-
Associative arguments.