Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 495 Bytes

widget.md

File metadata and controls

17 lines (10 loc) · 495 Bytes

Widget Options

Kavro fields inside widget configuration forms.

API

KAVRO::createWidgetOptions()

Recommended usage

Create a dedicated file in your plugin or theme, for example examples/widget-demo.php, then register fields using normal Kavro field arrays.

Saving and sanitization

This module uses Kavro's shared field renderer and field-aware sanitization where applicable. Always use unique field IDs and avoid reusing the same option/meta key for unrelated data.