Widget Options

Kavro fields inside widget configuration forms.

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.