Shortcode Framework

Register shortcodes and provide a generator UI.

Shortcode Framework

Register shortcodes and provide a generator UI.

API

KAVRO::createShortcode()

Recommended usage

Create a dedicated file in your plugin or theme, for example examples/shortcode-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.