Developer reference overview

On this page

This knowledge base is for developers, agencies and site builders who want to place WPBot on pages, react to what it does, connect it to other systems or change its behaviour from a theme or a small plugin. Everything here is based on WPBot Pro Master 16.0.0.

Note

Only the shortcodes, blocks, hooks, routes and functions in this knowledge base are meant for your code. WPBot's admin screens also use many internal AJAX actions and REST routes; they change between releases and are not documented on purpose.

How WPBot is built

WPBot Pro is one WordPress plugin made of modules. Each module lives in its own folder under includes/ and talks to the others only through hooks. The same core modules ship in WPBot Free; Pro adds a Pro module next to each one.

LayerWhat it isExamples
WPBot CoreShared services: AI client and keys, spending limits, background jobs, knowledge base, error log, notification emails, permissionsincludes/wpbot-core/
Core modulesEach tool of the Growth Suite, the same in Free and ProChatBot, AI Writer, SEO & AI Search, Social, AI Marketing, Site Insight, Help Center, asset cache
Pro modulesExtra features that plug into a core moduleChatBot Pro, AI Writer Pro, SEO & AI Search Pro, Social Pro, AI Marketing Pro, Site Insight Pro
Add-onsOlder feature packs switched on in the Module ManagerConversational Forms, WooCommerce, Chat Sessions, Messenger, WhatsApp, Telegram, Voice Message, Support Tickets

When several plugins bundle the same module (WPBot Free and WPBot Pro on one site), only the newest copy loads. WPBot Free stops running its own code as soon as WPBot Pro is active, so on a normal site only WPBot Pro answers. Your hooks therefore work the same whether the site runs Free, Pro or both.

What you can use

You want toUseGuide
Put the chat, a chat button or a form on a pageShortcodesChatbot shortcodes, Shortcodes of the Help Center, AI Marketing, Store and add-ons
Build pages in the block editor or ElementorBlocks and Elementor widgetsBlocks and Elementor widgets
React to events or change behaviour from PHPActions and filtersWPBot Core hooks and functions, ChatBot hooks, Help Center hooks, AI Writer, SEO & AI Search and Social hooks, AI Marketing, Site Insight and asset cache hooks
Talk to WPBot from another systemREST routesREST API overview: which routes are for you, Chat REST API: send messages to the chatbot
Let AI assistants read or write your help articlesMCP serversHelp Center MCP server: let AI assistants write your docs, Public docs server for your customers' AI assistants
Let the WordPress MCP Adapter use WPBotWordPress AbilitiesWordPress Abilities for the chatbot and the Help Center
Open the chat from your own button or scriptJavaScriptJavaScript: open the chatbot from your own buttons and scripts
Change the Help Center page wrapper or style WPBotTheme templates and CSSTheme templates, CSS and Markdown copies
Show the chatbot on a site without WordPressEmbed codeEmbed the chatbot on another website
Feed your own data to the chatbotKnowledge base hooksFeed your own data to the chatbot's knowledge base

Module folders, prefixes and REST namespaces are listed in Modules, hook prefixes, REST namespaces and editions.

Ground rules for custom code

  • Put your code in a small plugin or a child theme, never in WPBot's files. Updates replace every file in the plugin folder.
  • Hook in late enough. WPBot Core loads on plugins_loaded (priority 1), the ChatBot module at priority 3 and the other modules after it. Add your hooks from your own plugin's main file or on plugins_loaded; they run whenever WPBot fires them.
  • Never read WPBot's database tables directly. Use the functions and hooks in this knowledge base. Table layouts change with migrations.
  • Keep secrets out of the browser. WPBot never sends API keys to the browser, never logs them and shows only the last 4 characters. Do the same in your code.
  • Respect permissions. WPBot's capabilities follow the pattern wpbot_{section}_{view|use|publish|settings}; check them with current_user_can() before you show WPBot data. See Permissions: who can see, use and change each tool.
  • Test with an AI spending limit set. Every AI call WPBot makes counts against the limits in AI / Settings → Spending and limits, including calls your hooks trigger. See Set AI spending limits and alerts.

How custom code fits the Growth Loop

The hooks follow the Growth Loop. A few examples:

  • Create: qcld_wpbot_writer/content_published fires when AI Writer publishes, so you can notify a team channel.
  • Convert: qcld_wpbot_chat/lead_captured hands every chatbot lead to your CRM.
  • Reach / Sell: qcld_wpbot_marketing/contact_created and qcld_wpbot_marketing/form_submitted follow every new subscriber.
  • Learn: qcld_wpbot_chat/knowledge_gap collects the questions nobody answered, the best input for your next article.
  • Business Context sits behind every AI feature; your code never needs to send it, WPBot adds it.

Versions in WPBot Pro 16.0.0

ModuleVersion
WPBot Core0.16.0
ChatBot0.56.0
ChatBot Pro0.47.11
AI Writer / AI Writer Pro0.29.0 / 0.20.0
SEO & AI Search / Pro1.4.0 / 1.4.0
Social / Social Pro0.2.3 / 0.1.0
AI Marketing / AI Marketing Pro2.0
Site Insight / Site Insight Pro0.6.4 / 0.7.0
Help Center0.19.1
Asset cache / Pro0.7.5 / 0.7.2

What changed for customers is in What's new in WPBot Pro 16.0.0.

Availability

The hooks, REST routes, MCP servers and Abilities of the core modules are in every edition, including WPBot Free. Hooks of a Pro module exist only in the editions that include that module; each article lists them. WPBot Free does not include the chat shortcodes [wpbot-page], [chatbot-widget], [wpbot-click-chat] and the other chat-placement shortcodes: they are part of WPBot Pro. See WPBot editions: Free, Starter, Professional and Master.

Got more questions?

Contact our ChatBot Support Heroes. They’ll provide you with all the information you need.

Contact us

Customer support is very responsive and professional. The script is awesome and with many features, including A.I. from Dialogflow. High quality.

Newpolaris

If have a 7 Stars won’t hesitate to rate that chatbot as a 7stars+++ Very helpful prompt team support Cannot find enough words express my happiness for purchasing that CHATBot Good Luck for you and your items

Ahsmartsolutions

© 2002- 2026 QuantumCloud

Black Friday! Use coupon code monster for a discount during checkout!

DISCOUNT!

X
Let's chat if you need any help finding the right product or need support.
FAQSend Us Email