Hyve Lite 2.0.4 has 6 actions and 55 filters, read directly from its source code on Nov 17, 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 Hyve Lite fires an action
add_action( 'hyve_data_deleted', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Hyve Lite is about to use
add_filter( 'hyve_execute_tool_calls', function( $value, $tool_calls ) {
// Change $value here.
return $value;
}, 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
-
/** * Fires after content is removed from the Knowledge Base. */ do_action( 'hyve_data_deleted', (int) $id ); -
/** * Execute the model's tool calls and return function_call_output items to feed * back on the next turn. Lite attaches no handler. */ apply_filters( 'hyve_execute_tool_calls', null, $tool_calls ); -
/** * Filters the raw content used as page context for a page that is not in the * knowledge base. */ apply_filters( 'hyve_page_context_content', '', $post, (string) get_permalink( $post ) ); -
/** * Filters the similarity score threshold for knowledge base search. */ apply_filters( 'hyve_similarity_score_threshold', 0.25 ); -
/** * Filters the custom system prompt for the assistant. */ apply_filters( 'hyve_system_prompt', $settings['system_prompt'] ?? '' ); -
/** * Filters the captured leads returned by the list-leads ability. */ apply_filters( 'hyve_abilities_list_leads', null, [ 'id' => isset( $input['id'] ) ? absint( $input['id'] ) : 0, 'page' => isset( $input['page'] ) ? max( 1, absint( $input['page'] ) ) : 1, ] ); -
/** * Filters the unanswered questions returned by the list-unanswered-questions * ability. */ apply_filters( 'hyve_abilities_list_unanswered_questions', null, [ 'limit' => isset( $input['limit'] ) ? min( 20, max( 1, absint( $input['limit'] ) ) ) : 20, ] ); -
/** * Filters the state of a sitemap import, which Hyve Pro owns. */ apply_filters( 'hyve_abilities_sitemap_status', null, $matches[2] ); -
/** * Filters the result of adding or updating a knowledge source that Hyve Pro * owns (url, document, sitemap, manual). */ apply_filters( 'hyve_abilities_upsert_source', null, $type, [ 'source_id' => $source_id, 'ref' => $ref, 'title' => isset( $input['title'] ) ? sanitize_text_field( (string) $input['title'] ) : '', 'content' => isset( $input['content'] ) ? wp_kses_post( (string) $input['content'] ) : '', 'links' => $this->sanitize_links( $input['links'] ?? [] ), 'override' => $override, 'confirm_sensitive' => ! empty( $input['confirm_sensitive'] ), ] ); -
/** * Filters the token budget for the knowledge base context sent with a chat * message. Matched chunks are added best-first until the budget is full; a * larger budget lets more of the knowledge base reach the model at a higher * API cost per message. */ apply_filters( 'hyve_chat_context_token_limit', $tokens_threshold ); -
/** * Filters the debug information recorded with a bot message in the * conversation history (Messages screen). The pro plugin uses this to add the * skills executed during the turn. */ apply_filters( 'hyve_chat_debug', $debug, $payload ); -
/** * Filters the public source link appended to a chat answer. */ apply_filters( 'hyve_chat_source_link', $default, $post_id ); -
/** * Filters the maximum size of a knowledge base chunk, in tokens. */ apply_filters( 'hyve_chunk_token_size', 1000 ); -
/** * Filters extra per-turn state carried from the request that ran the Connect * chat to the request that serves it to the widget (extensions hold turn state * in memory, which does not survive the hop). Restored via * `hyve_connect_run_resumed`. */ apply_filters( 'hyve_connect_run_extras', [] ); -
/** * Restores the extension state stashed by `hyve_connect_run_extras` when the * chat ran, before the reply is assembled. */ do_action( 'hyve_connect_run_resumed', isset( $job['extras'] ) && is_array( $job['extras'] ) ? $job['extras'] : [] ); -
/** * Filters how close to the best match a chunk must score, as a ratio of the * top score (0–1), to be included in the chat context. A higher value keeps * only near-equal matches; 0 keeps everything above the similarity score * threshold. */ apply_filters( 'hyve_context_score_ratio', 0.6 ); -
/** * Filters the Knowledge Base picker filter options. */ apply_filters( 'hyve_data_filters', $filters, $type ); -
/** * Filters a row of the dashboard data listings. */ apply_filters( 'hyve_data_post', $post_data, $post_id ); -
/** * Filters the WP_Query arguments of the dashboard data listings. */ apply_filters( 'hyve_data_query_args', $args, (string) $status, (string) $request->get_param( 'type' ) ); -
/** * Filters whether the chat should be displayed. */ apply_filters( 'hyve_display_chat', 0 < intval( $stats['totalChunks'] ) ); -
/** * Filters how many characters of a document are scanned for sensitive data. */ apply_filters( 'hyve_document_scan_length', 12000 ); -
/** * Fires before the Hyve dashboard assets are enqueued, */ do_action( 'hyve_enqueue_options_assets' ); -
/** * Filters how many chunks are moderated per request. */ apply_filters( 'hyve_moderation_batch_size', 5 ); -
/** * Filters the moderation category thresholds (0-100 scale). */ apply_filters( 'hyve_moderation_threshold', self::DEFAULT_MODERATION_THRESHOLD ); -
/** * Filters how long extracted page content is cached, in seconds. */ apply_filters( 'hyve_page_context_cache_ttl', DAY_IN_SECONDS ); -
/** * Filters whether the current page is fed to the chatbot as context. */ apply_filters( 'hyve_page_context_enabled', false ); -
/** * Filters the maximum tokens of page content added to the chat context. */ apply_filters( 'hyve_page_context_token_limit', 1000 ); -
/** * Filters the linked label inside the chat privacy notice. */ apply_filters( 'hyve_privacy_notice_link_text', __( 'Privacy Policy', 'hyve-lite' ) ); -
/** * Filters the chat privacy notice text. Use a single %s where the privacy * policy link should appear. */ apply_filters( 'hyve_privacy_notice_text', __( 'By chatting, you agree to our %s.', 'hyve-lite' ) ); -
/** * Filters the URL the chat privacy notice links to. */ apply_filters( 'hyve_privacy_notice_url', get_privacy_policy_url() ); -
/** * Check if the row actions addon can be loaded for the current post type in * `edit.php`. */ apply_filters( "hyve_register_row_action_for_{$screen->post_type}", false ); -
/** * Filters how many recent visitor messages are blended into the retrieval * query. */ apply_filters( 'hyve_retrieval_history_count', 6, $thread_id ); -
/** * Filters the per-message character cap for the retrieval query. */ apply_filters( 'hyve_retrieval_history_message_length', 500 ); -
/** * Filters the final text used for knowledge base retrieval. */ apply_filters( 'hyve_retrieval_query', $query, $message, $history ); -
/** * Filters the maximum number of source links appended to a chat answer. */ apply_filters( 'hyve_source_link_limit', 3 ); -
/** * Filters how close to the best match a source must score to be shown as a * source link, as a ratio of the top score (0–1). A higher value keeps only * near-equal matches; 0 keeps everything above the context threshold. */ apply_filters( 'hyve_source_link_score_ratio', 0.8 ); -
apply_filters( 'hyve_chat_request', $thread_id, $request_record, $prepared['message'] ); -
apply_filters( 'product_hyve_license_status', false ); -
apply_filters( 'hyve_chat_reply_data', $data, $payload, $answered ); -
do_action( 'hyve_chat_response', $run_id, $thread_id, $query, $record_id, $payload, $response ); -
apply_filters( 'hyve_create_response_params', $params ); -
apply_filters( 'hyve_options_data', [] ); -
apply_filters( 'product_hyve_license_key', '' ); -
apply_filters( 'hyve_chunks_limit', 500 ); -
do_action( 'hyve_register_post_type_row_action_knowledge_base', 'post' ); -
apply_filters( 'hyve_settings_validation', [] ); -
apply_filters( 'hyve_stats', [] ); -
apply_filters( 'hyve_chart_data', [] ); -
apply_filters( 'hyve_chat_rate_limits', [ MINUTE_IN_SECONDS => 15, HOUR_IN_SECONDS => 100, ] ); -
apply_filters( 'hyve_connect_base_url', 'https://ai.themeisle.com/api/workflows/' ); -
apply_filters( 'hyve_connect_chat_settings', [ 'instructions' => mb_substr( $instructions, 0, 4000 ), ], $settings ); -
apply_filters( 'hyve_connect_disconnect_blocked_reason', '', $mode ); -
apply_filters( 'hyve_default_settings', [ 'ai_mode' => 'self_hosted', 'api_key' => '', 'qdrant_api_key' => '', 'qdrant_endpoint' => '', 'chat_model' => 'gpt-5.4-nano', 'welcome_message' => '', 'default_message' => '', 'similarity_score_threshold' => 0.25, 'post_row_addon_enabled' => true, 'sound_enabled' => true, 'show_timestamp' => true, 'privacy_notice_enabled' => false, 'chat_position' => 'right', 'show_source_link' => false, 'dis... ); -
apply_filters( 'hyve_encryption_key_check_can_reset', true ); -
apply_filters( 'hyve_frontend_data', [ 'api' => $this->api->get_endpoint(), 'ajaxUrl' => admin_url( 'admin-ajax.php' ), 'streamNonce' => wp_create_nonce( Stream::NONCE_ACTION ), 'audio' => [ 'ping' => HYVE_LITE_URL . 'assets/audio/ping.mp3', ], 'welcome' => esc_html( $settings['welcome_message'] ?? '' ), 'isEnabled' => $this->should_display_chat(), 'soundEnabled' => boolval( $settings['sound_enabled'] ?? true ), 'showTimestamp' =>... ); -
apply_filters( 'hyve_global_chat_enabled', false ); -
apply_filters( 'hyve_threads_per_page', 3 ); -
apply_filters( 'product_hyve_license_plan', 0 ); -
apply_filters( 'the_content', $post->post_content ); -
do_action( 'themeisle_internal_page', HYVE_PRODUCT_SLUG, 'dashboard' ); -
apply_filters( 'themeisle_sdk_secret_masking', apply_filters( 'product_hyve_license_key', '' ) );
Generated from Hyve Lite'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: