API reference
Template helpers
Read native WordPress values with defaults and nested option paths.
#voxycure_get_field()
voxycure_get_field(string $key, ?int $postId = null, mixed $default = null): mixed| Argument | Meaning |
|---|---|
$key | Registered meta key. |
$postId | Defaults to get_the_ID(). |
$default | Returned when no post/value exists. |
#voxycure_get_option()
voxycure_get_option(string $key, mixed $default = null): mixedDot notation traverses nested arrays and objects, for example theme_settings.branding.logo.
#voxycure_registry()
Returns the shared Voxyframe\Core\Registry. Prefer the registration action so other extensions can predict the load order.