Wp post meta delete (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
$ wp post meta delete

NAME

  wp post meta delete

DESCRIPTION

  Delete a meta field.

SYNOPSIS

  wp post meta delete <id> [<key>] [<value>] [--all]

OPTIONS

  <id>
    The ID of the object.

  [<key>]
    The name of the meta field to delete.

  [<value>]
    The value to delete. If omitted, all rows with key will deleted.

  [--all]
    Delete all meta for the object.