SoftVoltAI Voice Agent 1.2.0 has 2 actions and 12 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when SoftVoltAI Voice Agent fires an action
add_action( 'svava_chat_turn', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value SoftVoltAI Voice Agent is about to use
add_filter( 'svava_admin_nav', function( $svava_nav, $svava_page ) {
// Change $svava_nav here.
return $svava_nav;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * This action is documented below. */ do_action( 'svava_chat_turn', $turn + array( 'reply' => $body['output'], 'status' => 200, 'held' => $body['held'], 'lead' => '', 'products' => 0, 'failed' => false ) ); -
/** * Lets an add-on mark its own screens as Voice Agent screens, so they get the * same top bar and styles. Return a short key, or '' for other screens. */ apply_filters( 'svava_admin_page', '', (string) $hook_suffix ); -
/** * The name and icon in the top bar. An add-on can put an agency's own brand * here. */ apply_filters( 'svava_brand', array() ); -
/** * Fires after the agent saves a new lead. */ do_action( 'svava_lead_created', $id, $kind, $fields ); -
/** * Lets an add-on answer a message instead of the AI, for example while a * person from the team is replying in a live inbox. Return null to let the AI * answer, or an array with 'output' (may be empty) and 'held' (true when the * chat window should wait for a person's reply). */ apply_filters( 'svava_pre_reply', null, $turn ); -
/** * Whether Voice Agent Pro is active; the add-on answers true. Hides the Pro * advert. */ apply_filters( 'svava_pro_active', false ); -
/** * The AI providers to choose from. An add-on can add its own, in the same * shape as the providers in data/catalog.json. */ apply_filters( 'svava_providers', $out ); -
/** * Answers a call to a tool an add-on added through svava_tools. Return a * string for the model, or null when the tool is not yours. */ apply_filters( 'svava_run_tool', null, (string) $call['name'], (array) $call['input'], array( 'session' => $session, 'page' => $page ) ); -
/** * The settings in use for this request. An add-on can change them, for example * to answer as a different agent on some pages; call flush() after changing * what the filter returns. */ apply_filters( 'svava_settings', self::$cache ); -
/** * Filters the agent's instructions. */ apply_filters( 'svava_system_prompt', implode( "\n", $lines ), $type ); -
/** * Lets an add-on give the agent more tools, for example looking up an order or * a booking in another system. Each tool needs a name, a description and * JSON-schema parameters; the add-on answers the calls through the * svava_run_tool filter. */ apply_filters( 'svava_tools', $tools ); -
/** * Filters what the webhook receives. */ apply_filters( 'svava_webhook_payload', $payload, $lead ); -
apply_filters( 'widget_title', $title, $instance, $this->id_base );
Generated from SoftVoltAI Voice Agent's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: