SoftVoltAI Voice Agent icon
Email & Marketing

SoftVoltAI Voice Agent hooks reference

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.

functions.phpyour child theme
// 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

  • includes/class-softvolt-ai-voice-agent-rest.php line 267 · used in 3 places
    /**
     * 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 ) );
  • admin/partials/app-header.php line 54
    /**
     * The pages in the top bar. Each item: label, icon (a dashicon class), url,
     * and optionally badge (a short text) and badge_class (is-on, is-off).
     */
    apply_filters( 'svava_admin_nav', $svava_nav, $svava_page );
  • admin/class-softvolt-ai-voice-agent-admin.php line 137
    /**
     * 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 );
  • admin/partials/app-header.php line 62
    /**
     * The name and icon in the top bar. An add-on can put an agency's own brand
     * here.
     */
    apply_filters( 'svava_brand', array() );
  • includes/class-softvolt-ai-voice-agent-leads.php line 143
    /**
     * Fires after the agent saves a new lead.
     */
    do_action( 'svava_lead_created', $id, $kind, $fields );
  • includes/class-softvolt-ai-voice-agent-rest.php line 260
    /**
     * 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 );
  • admin/partials/page-dashboard.php line 419
    /**
     * Whether Voice Agent Pro is active; the add-on answers true. Hides the Pro
     * advert.
     */
    apply_filters( 'svava_pro_active', false );
  • includes/class-softvolt-ai-voice-agent-catalog.php line 116
    /**
     * 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 );
  • includes/class-softvolt-ai-voice-agent-agent.php line 316
    /**
     * 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 ) );
  • includes/class-softvolt-ai-voice-agent-settings.php line 159
    /**
     * 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 );
  • includes/class-softvolt-ai-voice-agent-prompt.php line 146
    /**
     * Filters the agent's instructions.
     */
    apply_filters( 'svava_system_prompt', implode( "\n", $lines ), $type );
  • includes/class-softvolt-ai-voice-agent-prompt.php line 369
    /**
     * 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 );
  • includes/class-softvolt-ai-voice-agent-alerts.php line 281
    /**
     * Filters what the webhook receives.
     */
    apply_filters( 'svava_webhook_payload', $payload, $lead );
  • includes/class-softvolt-ai-voice-agent-widget.php line 57
    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.

Plugin 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 this

Not 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: