API reference
Hooks and filters
Adjust definitions, native registration arguments, caching policy, and save behavior.
#Registration hooks
| Hook | Type | Purpose |
|---|---|---|
voxycure/register | Action | Primary definition entry point. |
voxycure_register_post_types | Filter | Filter collected post-type definitions. |
voxycure_register_taxonomies | Filter | Filter taxonomy definitions. |
voxycure_blocks | Filter | Filter dynamic blocks. |
voxycure_meta_fields | Filter | Filter document field groups. |
voxycure_option_pages | Filter | Filter option pages. |
#Runtime hooks
| Hook | Purpose |
|---|---|
voxycure_post_type_args | Modify final native post-type arguments. |
voxycure_taxonomy_args | Modify final native taxonomy arguments. |
voxycure_block_cache_ttl | Set output cache lifetime. |
voxycure_block_editor_scope_match | Override the final inserter-visibility decision for one Voxycure block and editor context. |
voxycure_template_roots | Add a trusted PHP-template root. |
voxycure_options_saved | Run after a registered option page saves. |