Extending VX
VX is built to be extended from a plugin or theme, without editing VX itself. Each article shows a complete, minimal example: dynamic data (tag groups, modifiers and builtins), visibility rules, abilities for AI assistants, and custom validation.
Classes under VxFramework\Modules\… that aren't described here are internal and may change between versions.
In this section
Extending dynamic dataAdd modifiers, tag groups, and builtins to VX Script, and render expressions from PHP.Custom visibility rulesAdd a named condition to the block editor's Visibility rules.Custom abilitiesAdd operations that AI assistants and WP-CLI can call, with the same safeguards as VX's own.Custom system dictionariesProShip a read-only list of choices, like countries or units, from your plugin.Custom validationAdd your own checks to fields, in the editor and on save.