[update_post] – Update Post Action

[update_post]
id=
title=
slug=
content=
excerpt=
thumbnail=
author=
type=
status=
pass=
parent=
order=
template=
META KEYS
meta_key_1=value_1
meta_key_2=["vaue_1", "value_2"
]
meta_key_3={
"key_1":"value_1",
"key_2":["value_2","value_3"
]
}
[/update_post]

Action to update an existing post.

Attributes:

AttributeExamplesDescription
CONTENT*[update_post]
id=
title=
slug=
content=
excerpt=
thumbnail=
author=
type=
status=
pass=
parent=
order=
template=
META KEYS
meta_key_1=value_1
meta_key_2=["vaue_1", "value_2"
]
meta_key_3={
"key_1":"value_1",
"key_2":["value_2","value_3"
]
}
[/update_post]
The content inside the BBCode will be used to set the post fields and metadata.
IMPORTANT: Use the words "META KEYS" to separate fields and metadata.

Fields:
id: The post's ID to update. Required.
While updating, the rest of fields are optional.

Metadata:
Metadata can be defined as single value of array values. For array values is required to define them with JSON format.

Single value example:
meta_key_1=value_1

Array example (to keep JSON format values should be in double quotes):
meta_key_2=["vaue_1", "value_2"]

Object with keys example:
meta_key_3={
"key_1":"value_1",
"key_2":["value_2","value_3"]
}

To pass a field value in an array, you need to keep the double quotes too:
meta_key_2=["{field.text}", "{field.email}"]

Required.