Wp cron event unschedule (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
$ wp help cron event unschedule

NAME

  wp cron event unschedule

DESCRIPTION

  Unschedules all cron events for a given hook.

SYNOPSIS

  wp cron event unschedule <hook>

OPTIONS

  <hook>
    Name of the hook for which all events should be unscheduled.

EXAMPLES

    # Unschedule a cron event on given hook.
    $ wp cron event unschedule cron_test
    Success: Unscheduled 2 events with hook 'cron_test'.