Available Action & Filter Hooks in TalkativeWP

Table Of Contents
Hook NameTypeParametersDescription
talkativewp_chatbot_before_sendapply_filters$message, $user_idModify or filter the message before sending it to the AI assistant.
talkativewp_chatbot_after_senddo_action$response, $user_idTriggered after receiving a response from the assistant.
talkativewp_chatbot_user_dataapply_filters$user_data, $user_idExtend user data sent along with chat (e.g. metadata, WooCommerce data).
talkativewp_chatbot_ui_customdo_actionNoneInject custom HTML into the chat UI (e.g. extra buttons, notices).
talkativewp_save_chat_beforedo_action$chat_dataFired before a chat is saved to the database.
talkativewp_save_chat_afterdo_action$chat_id, $chat_dataFired after a chat is saved successfully. Useful for integrations.
talkativewp_webhook_before_sendapply_filters$payload, $webhook_urlModify the data payload sent to the external webhook.
talkativewp_support_form_before_sendapply_filters$form_dataModify the support form submission before sending it to webhook/API.
talkativewp_support_form_after_senddo_action$form_data, $responseTriggered after the support form is sent.

Notes: #

  • All hooks are namespaced with talkativewp_ to avoid conflicts.
  • You can hook into them from your theme or a custom plugin.
  • Use add_action() or add_filter() as appropriate.
  • Make sure any hook logic is fast/non-blocking to avoid performance issues.

What are your feelings

Updated on 18 May 2025
I am here to help chat icon
Chat with TalkativeWP Bot
TalkativeWP Bot on it...