benecaster_settings_sections
Declares settings sections into the GET /admin/extensions payload, each with an id, a page slug, a label and a fields array.
This is a data-only extension point — nothing in Benecaster renders what it returns. The filter’s result ships in the /admin/extensions response, but no settings screen reads it, so the fields you declare are not shown and nothing saves them. It exists so an add-on can read its own declarations back out of the payload.
For an add-on tab in one show’s settings, use benecaster_show_settings_pages with a BenecasterShowSettingsPage_{id} fill, which receives { showId }. For an install-wide page, use benecaster_settings_pages with a BenecasterSettingsPage_{id} fill. For a few fields below the show editor’s own, fill BenecasterShowEditorAfterFields.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$sections |
array |
— | Array of section declaration arrays, each with keys: id, page, label, fields |
Returns:
array
Affects
- GET /admin/extensions response payload
Need this built rather than just documented? See our services →