Skip to content

sections

Alberto Parziale edited this page Apr 28, 2020 · 3 revisions

Sections

{
  "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.

Options

For the general option fields, check the getting started page.

Custom options

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.

Filters

You can filter the section's fetched value by calling WordPress' add_filter with the tag "aeria_get_sections".

Clone this wiki locally