Wp gf notification get (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen
$wp help gf notification get

NAME

  wp gf notification get

DESCRIPTION

  Returns the notification JSON.

SYNOPSIS

  wp gf notification get <form-id> <notification-id>

Voorbeeld

$ wp gf notification list

+---------------+-------------------+---------------------------------------+--------+
| id            | name              | subject                               | active |
+---------------+-------------------+---------------------------------------+--------+
| 5d47eb045c09b | Beheerdersmelding | Webformulier Example.nl {Naam:5}      | yes    |
+---------------+-------------------+---------------------------------------+--------+

$ wp gf notification get 1 5d47eb045c09b

{
   "isActive":true,"name":"Beheerdersmelding","service":"wordpress","event":"form_submission",
   "to":"info@example.nl","toType":"email","cc":"","bcc":"","subject":"Webformulier example.nl {Naam:5}",
   "message":"{all_fields}","from":"info@example.nl","fromName":"","replyTo":"{E-mailadres:2}",
   "routing":null,"conditionalLogic":null,"disableAutoformat":false,"enableAttachments":false,
   "id":"5d47eb045c09b"
}