Wp plugin auto-updates (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
$ wp help plugin auto-updates

NAME

  wp plugin auto-updates

DESCRIPTION

  Manages plugin auto-updates.

SYNOPSIS

  wp plugin auto-updates <command>

SUBCOMMANDS

  disable      Disables the auto-updates for a plugin.
  enable       Enables the auto-updates for a plugin.
  status       Shows the status of auto-updates for a plugin.

EXAMPLES

    # Enable the auto-updates for a plugin
    $ wp plugin auto-updates enable activate hello
    Plugin auto-updates for 'hello' enabled.
    Success: Enabled 1 of 1 plugin auto-updates.

    # Disable the auto-updates for a plugin
    $ wp plugin auto-updates disable activate hello
    Plugin auto-updates for 'hello' disabled.
    Success: Disabled 1 of 1 plugin auto-updates.

    # Get the status of plugin auto-updates
    $ wp plugin auto-updates status hello
    Auto-updates for plugin 'hello' are disabled.