Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 499 Bytes

shortcode.md

File metadata and controls

17 lines (10 loc) · 499 Bytes

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.