__construct() __construct(string[] $args, array<string,string> $assoc_args) : mixed Construct. Parameters string[] $args Positional arguments. array $assoc_args Keyed arguments. Throws \Exception When loading a CLI command file outside of WP CLI context. Returns mixed
get_schedule_display_string() get_schedule_display_string(\ActionScheduler_Schedule $schedule) : string Get the scheduled date in a human friendly format. Parameters \ActionScheduler_Schedule $schedule Schedule. Returns string
process_csv_arguments_to_arrays() process_csv_arguments_to_arrays() : void Transforms arguments with '__' from CSV into expected arrays.
cancel_single() cancel_single(string $hook, array $callback_args, string $group) : void Cancel single action. Parameters string $hook The hook that the job will trigger. array $callback_args Args that would have been passed to the job. string $group The group the job is assigned to.
cancel_all() cancel_all(string $hook, array $callback_args, string $group) : void Cancel all actions. Parameters string $hook The hook that the job will trigger. array $callback_args Args that would have been passed to the job. string $group The group the job is assigned to.
print_error() print_error(\Exception $e, bool $multiple) : void Convert an exception into a WP CLI error. Parameters \Exception $e The error object. bool $multiple Boolean if multiple actions. Throws \WP_CLI\ExitException When an error occurs.