-
Notifications
You must be signed in to change notification settings - Fork 5
sections
Alberto Parziale edited this page Apr 28, 2020
·
3 revisions
{
"id": "sections",
"type": "sections",
"label": "Sections",
"description": "Section description",
"accepts": [
"paragraph"
]
}
The sections field can contain one or more sections. To know more about how to declare sections, check their configuration wiki page.
NOTICE: If a section doesn't have declared an accepts
param or it is empty, it will be skipped.
For the general option fields, check the getting started page.
The section field has one additional option:
-
"accepts"
defines which types of sections can be added to this field. This value must be equal to the section's config"name"
value.
You can filter the section's fetched value by calling WordPress' add_filter with the tag "aeria_get_sections"
.