Wp post meta add (WP-CLI)

Uit De Vliegende Brigade
Versie door Jeroen Strompf (overleg | bijdragen) op 29 aug 2022 om 14:11 (Nieuwe pagina aangemaakt met '<pre> $ wp help post meta add NAME wp post meta add DESCRIPTION Add a meta field. SYNOPSIS wp post meta add <id> <key> [<value>] [--format=<format>] OP...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen
$ wp help post meta add

NAME

  wp post meta add

DESCRIPTION

  Add a meta field.

SYNOPSIS

  wp post meta add <id> <key> [<value>] [--format=<format>]

OPTIONS

  <id>
    The ID of the object.

  <key>
    The name of the meta field to create.

  [<value>]
    The value of the meta field. If omitted, the value is read from STDIN.

  [--format=<format>]
    The serialization format for the value.
    ---
    default: plaintext
    options:
      - plaintext
      - json
    ---