API reference

Hooks and filters

Adjust definitions, native registration arguments, caching policy, and save behavior.

#Registration hooks

HookTypePurpose
voxycure/registerActionPrimary definition entry point.
voxycure_register_post_typesFilterFilter collected post-type definitions.
voxycure_register_taxonomiesFilterFilter taxonomy definitions.
voxycure_blocksFilterFilter dynamic blocks.
voxycure_meta_fieldsFilterFilter document field groups.
voxycure_option_pagesFilterFilter option pages.

#Runtime hooks

HookPurpose
voxycure_post_type_argsModify final native post-type arguments.
voxycure_taxonomy_argsModify final native taxonomy arguments.
voxycure_block_cache_ttlSet output cache lifetime.
voxycure_block_editor_scope_matchOverride the final inserter-visibility decision for one Voxycure block and editor context.
voxycure_template_rootsAdd a trusted PHP-template root.
voxycure_options_savedRun after a registered option page saves.
Framework version2.0.0
PHP requirement8.0+
Documentation updatedAugust 2026