WPBot 9.1 has 150 actions and 418 filters, read directly from its source code on Nov 18, 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 WPBot fires an action
add_action( 'qcld_wpbot_chat/knowledge_gap', function( $text, $arg2, $message ) {
// Your code runs here.
}, 10, 3 );
// Change a value WPBot is about to use
add_filter( 'qcld_wpbot_core/ai_endpoint', function( $url, $choice ) {
// Change $url here.
return $url;
}, 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.
Changes by version
9.0 → 9.1 · Nov 18, 2026 · 15 added, 0 removed
Added
- filter
qcld_admin_theme_default_mode - action
qcld_admin_theme_changed - filter
qcld_admin_theme_capability - filter
qcld_admin_theme_plugins - filter
qcld_admin_theme_is_plugin_screen - filter
qcld_admin_theme_show_controls - filter
qcld_admin_theme_font_url - filter
qcld_wpbot_chat/error_alert_summary - filter
qcld_wpbot_chat/error_alert_pages - filter
qcld_wpbot_chat/person_request_pattern - filter
qcld_wpbot_chat/lazy_notification - action
qcld_admin_theme_switch - filter
qcld_wpbot_loader_style - filter
qcld_wpbot_loader_color - filter
qcld_wpbot_loader_speed
All hooks
-
/** * The bot was not sure about a question (a knowledge gap). */ do_action( 'qcld_wpbot_chat/knowledge_gap', $message->text, 'not_sure', $message ); -
/** * This filter is documented in WPBot Core's Provider_Client (tests point it at * a mock). */ apply_filters( 'qcld_wpbot_core/ai_endpoint', $url, $choice['provider'] ); -
/** * This action is documented in the class docblock. */ do_action( 'qcld_wpbot_core/experiment_switch', $exp, self::control( $exp ) ); -
/** * This filter is documented in update(). Context: 'create'. */ apply_filters( 'qcld_wpbot_ai_seo_content_article_data', $data, $request, 'create' ); -
/** * This action is documented in src/Conversation/Steps/Ai_Step.php */ do_action( 'qcld_wpbot_chat/ai_failed', $result, null ); -
/** * This filter is documented in Image_Search::get_json(). */ apply_filters( 'qcld_wpbot_writer/image_endpoint', $url, 'download' ); -
/** * A user changed their admin theme. */ do_action( 'qcld_admin_theme_changed', $user_id, $new, $current ); -
/** * This action is documented in the legacy subscription handler. */ do_action( 'qcld_mailing_list_subscription_success', $name, $email ); -
/** * Message shown to site visitors when the AI provider fails. */ apply_filters( 'qcld_wpbot_ai_friendly_error', $text ); -
/** * This action is documented in src/Admin/Kb_Panel.php */ do_action( 'qcld_wpbot_chat/kb_settings_panel' ); -
/** * The shared Site Context changed. */ do_action( 'qcld_wpbot_core/context_changed', $summary ); -
/** * Google endpoint URL. For tests only. */ apply_filters( 'qcld_wpbot_core/google_endpoint', $url, $name ); -
/** * This filter is documented in WPBot Core src/Knowledge/Kb_Sources.php */ apply_filters( 'qcld_wpbot_core/kb_post_access', array(), $post ); -
/** * Fires when a module's key status changes. */ do_action( 'qcld_wpbot_core/key_status_changed', $module, $provider, $cause ); -
/** * The Persuasion Kit changed. */ do_action( 'qcld_wpbot_core/kit_changed', $id ); -
/** * Whether the current admin page gets WPBot's shared controls. */ apply_filters( 'qcld_wpbot_core/ui_screen', $is ); -
/** * This filter is documented in the Pro module (web search fee per call). */ apply_filters( 'qcld_wpbot_seo_pro/web_search_fee', 0.01, $order[0] ); -
/** * Competitor hosts to leave out of prospects. */ apply_filters( 'qcld_wpbot_seo/competitor_hosts', array() ); -
/** * This filter is documented in src/Technical/Page_Speed.php */ apply_filters( 'qcld_wpbot_seo/endpoint', 'https://ssl.bing.com/webmaster/api.svc/json', 'bing' ); -
/** * Whether WPBot prints basic schema when no SEO plugin does. */ apply_filters( 'qcld_wpbot_seo/schema_output', true ); -
/** * This filter is documented in src/Networks/Instagram.php */ apply_filters( 'qcld_wpbot_social/max_images', 1, 'facebook' ); -
/** * Take over a save (the Master module's approval: a post from someone without * Publish waits for an approver). Return an array or WP_Error to answer. */ apply_filters( 'qcld_wpbot_social/save_intercept', null, $input ); -
/** * Networks that take a video (the Master module adds them). Network id => * true. */ apply_filters( 'qcld_wpbot_social/video_networks', array() ); -
/** * Decay data sources. Each callable returns rows: post_id, source (label), * metric (visits|clicks), before, after, plus optional impressions_before, * impressions_after, position_before, position_after, scroll (average % read). */ apply_filters( 'qcld_wpbot_writer/decay_sources', array() ); -
/** * This filter is documented below. */ apply_filters( 'qcld_wpbot_writer/voice_prompt', 'Voice: clear, friendly and plain-spoken.', array() ); -
/** * This filter is documented in wp-includes/class-wp-scripts.php */ apply_filters( "{$type}_loader_src", $src, $handle ); -
/** * Data the admin app gets on load (window.qcInsightsAdmin). Features may add * their own keys; never add secrets. */ apply_filters( 'qcin/admin_data', $data ); -
/** * Screens shown in the Insights navigation. Features add their own (and draw * them with the JS filter 'qcin.admin.screens'). */ apply_filters( 'qcin/admin_screens', array( array( 'id' => 'overview', 'label' => __( 'Overview', 'chatbot' ), ), array( 'id' => 'recordings', 'label' => __( 'Recordings', 'chatbot' ), ), array( 'id' => 'heatmaps', 'label' => __( 'Heatmaps', 'chatbot' ), ), array( 'id' => 'settings', 'label' => __( 'Settings', 'chatbot' ), ), ) ); -
/** * Feature scripts for the Insights screen. They always load after * 'qcin-admin'. Each item: array( 'handle' => ..., 'src' => ..., 'deps' => * array(), 'ver' => ..., 'data' => array() (optional, printed as window[ * 'data_var' ]), 'data_var' => ..., 'domain' => text domain ). */ apply_filters( 'qcin/admin_scripts', array() ); -
/** * A session as the admin screens get it (list and player). Features may add * keys, e.g. a badge flag. */ apply_filters( 'qcin/admin_session', $data, $row ); -
/** * Feature styles for the Insights screen. Each item: array( 'handle' => ..., * 'src' => ..., 'deps' => array(), 'ver' => ... ). */ apply_filters( 'qcin/admin_styles', array() ); -
/** * Replace the AI client (e.g. a Pro feature or a custom gateway). */ apply_filters( 'qcin/ai_client', $client ); -
/** * Change the digest sent to the AI for a session summary. */ apply_filters( 'qcin/ai_digest', $digest['text'], $session ); -
/** * Change the URL an AI request is sent to (proxies, tests). */ apply_filters( 'qcin/ai_endpoint', $url, $this->provider, $this->model ); -
/** * Add AI features. Add this filter early (on qcin/loaded), so the switch * exists whenever settings are read. */ apply_filters( 'qcin/ai_features', $defs ); -
/** * Change the provider catalog (labels, endpoints, suggested models). */ apply_filters( 'qcin/ai_providers', $providers ); -
/** * After a session summary is created. */ do_action( 'qcin/ai_summary_created', $result, $session ); -
/** * Extra hosts accepted by the ingest endpoint (multi-domain setups). */ apply_filters( 'qcin/allowed_origins', $hosts ); -
/** * Query parameters kept in stored URLs. */ apply_filters( 'qcin/allowed_query_params', array( 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'p', 'page_id', 'post_type' ) ); -
/** * Capability for one part of Insights (role-based access). */ apply_filters( 'qcin/capability', $cap, (string) $context ); -
/** * Country code for the current request (e.g. from a GeoIP plugin). */ apply_filters( 'qcin/country', '' ); -
/** * Selectors whose text is always masked. */ apply_filters( 'qcin/default_mask_selectors', array( '.woocommerce-MyAccount-content', '.woocommerce-order-details', '.woocommerce-customer-details', '.woocommerce-checkout #customer_details', '.woocommerce-checkout-review-order', 'address', ) ); -
/** * After "Delete all data now": features clear their own data and remote * copies. */ do_action( 'qcin/delete_all' ); -
/** * Whether the core sends email reports. A feature that sends its own report * returns false; the core then hides its Settings section too. */ apply_filters( 'qcin/email_reports', true ); -
/** * Frustration thresholds. */ apply_filters( 'qcin/frustration_rules', array( 'rageClicks' => 3, 'rageMs' => 1000, 'rageRadius' => 30, 'deadMs' => 500, 'maxErrors' => 20, ) ); -
/** * Cron hooks shown in the health report with their last and next run. Features * add their own jobs and call Health_Check::record_run( $hook ) when they run. */ apply_filters( 'qcin/health_jobs', array( Scheduler::FINALIZE, Scheduler::AGGREGATE, Scheduler::CLEANUP ) ); -
/** * Feature data that came with a batch, after all checks passed. Each feature * reads only its own namespace and validates every item. */ do_action( 'qcin/ingest_ext', $payload['ext'], $session, $pageview ); -
/** * Ingest limits per minute. */ apply_filters( 'qcin/ingest_rate_limit', array( 'per_ip' => 60, 'site' => 3000, ) ); -
/** * Treat a user agent as a bot. */ apply_filters( 'qcin/is_bot', (bool) preg_match( $pattern, $ua ), $ua ); -
/** * Fires once the newest copy of WPBot Insights is loaded. Hosts register their * adapter here. */ do_action( 'qcin/loaded' ); -
/** * Extra conditions for the sessions the storage limit may delete (e.g. leave * out recordings already moved off this server). Same shape as * qcin/session_query; the sessions table alias is "s". */ apply_filters( 'qcin/oldest_query', array( 'where' => array( 's.favourite = 0' ), 'params' => array(), ) ); -
/** * Choose which registered host owns the admin screens. */ apply_filters( 'qcin/primary_host', $first, $this->hosts ); -
/** * Suggested privacy-policy text. */ apply_filters( 'qcin/privacy_policy_text', $text ); -
/** * Days to keep raw clicks (1-90, default 7). */ apply_filters( 'qcin/raw_click_days', 7 ); -
/** * Replace where recordings are stored. */ apply_filters( 'qcin/recording_store', new Local_File_Store() ); -
/** * Add features (WPBot Pro, other hosts). */ do_action( 'qcin/register_features', $this->registry ); -
/** * Report name, credit and upgrade line in the email report. */ apply_filters( 'qcin/report_branding', $raw ); -
/** * The email report just before it is sent: to, subject, html, text, headers, * attachments. Features may add attachments. */ apply_filters( 'qcin/report_email', $email, $this->facts ); -
/** * Extra sections in the email report, after the core sections. Each: array( * 'title' => ..., 'rows' => array( array( label, value, url? ), ... ), 'note' * => plain text? ). Text is escaped; only send totals, never visitor data. */ apply_filters( 'qcin/report_sections', array(), $this->facts ); -
/** * After an email report was sent. */ do_action( 'qcin/report_sent', $sent, $facts, (bool) $test ); -
/** * Warnings shown in the email report (plain text). */ apply_filters( 'qcin/report_warnings', $out ); -
/** * Lets features (e.g. Pro) add CREATE TABLE statements. */ apply_filters( 'qcin/schema', $tables, $charset ); -
/** * Tables added by features, as full names ({prefix}qcin_...). */ apply_filters( 'qcin/schema_tables', array() ); -
/** * Turn request parameters into a condition on sessions (alias "s"). Return * null for no segment, or array( 'where' => string[], 'params' => array ): SQL * with %s / %d placeholders and their values in order. Never put raw request * values into 'where'. The condition is used on the Overview, the Heatmaps and * the Recordings list. */ apply_filters( 'qcin/segment', null, $params ); -
/** * A session's rows were deleted (retention, storage cap, "Delete", privacy * eraser). Features remove their own rows for it. */ do_action( 'qcin/session_deleted', (int) $session_id ); -
/** * A session was closed after 30 minutes without activity. */ do_action( 'qcin/session_finalized', $row ); -
/** * Add conditions to the recordings list (segments, feature filters). Add SQL * to 'where' with %s / %d placeholders and the values to 'params', in the same * order. The sessions table alias is "s". Never put raw request values into * 'where'. */ apply_filters( 'qcin/session_query', array( 'where' => $where, 'params' => $params, ), $filters ); -
/** * Final decision on adding the tracker to this request. */ apply_filters( 'qcin/should_track', $track ); -
/** * A frustration signal or custom event was stored. */ do_action( 'qcin/signal_recorded', $signal, $session, $pageview ); -
/** * Extra frustration signal types. The browser sends them with * qcInsights.registerDetector( ( api ) => api.signal( type, selector, data ) * ). */ apply_filters( 'qcin/signal_types', array() ); -
/** * Bytes counted against the storage limit. A store that moves recordings off * this server reports only what is still here, and excludes moved sessions * with qcin/oldest_query. */ apply_filters( 'qcin/storage_used_bytes', $repo->total_bytes() ); -
/** * Config sent to the browser tracker. */ apply_filters( 'qcin/tracker_config', $config ); -
/** * Extra tracker scripts. Each item: array( 'id' => 'my-feature', 'src' => URL, * 'when' => 'any' | 'recorded' | 'collected' ). A script can use * window.qcInsights (on, event, push, getContext, registerDetector). */ apply_filters( 'qcin/tracker_extensions', array() ); -
/** * Capability needed to use the admin theme. */ apply_filters( 'qcld_admin_theme_capability', 'read' ); -
/** * Look for users who never chose one: light, dark, auto or classic. */ apply_filters( 'qcld_admin_theme_default_mode', 'classic' ); -
/** * URL of the stylesheet with the heading font ('' to use the system serif). */ apply_filters( 'qcld_admin_theme_font_url', 'https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap' ); -
/** * Whether the current admin page belongs to a plugin that uses the admin * theme. */ apply_filters( 'qcld_admin_theme_is_plugin_screen', $is ); -
/** * The plugins that use the admin theme on their pages. */ apply_filters( 'qcld_admin_theme_plugins', array() ); -
/** * Whether the toolbar toggle and the theme assets load on this admin page. */ apply_filters( 'qcld_admin_theme_show_controls', $this->user_can_use() && ! $this->is_excluded_screen() ); -
/** * Filter the maximum number of continuation rounds per generation. */ apply_filters( 'qcld_wpbot_ai_seo_ai_max_continuation_rounds', $rounds, self::is_background_context() ); -
/** * Filter the max output tokens requested from the provider. Lowering this is * the simplest way to reproduce truncation in testing. */ apply_filters( 'qcld_wpbot_ai_seo_ai_max_tokens', $max_tokens, $task, $options ); -
/** * Filter the allowed HTML for WPBot AI SEO & Marketing article bodies. */ apply_filters( 'qcld_wpbot_ai_seo_allowed_article_html', $tags ); -
/** * Fires after an article was generated and saved, before the response. Add-ons * use it for follow-up AI steps (meta, excerpt, ...). */ do_action( 'qcld_wpbot_ai_seo_content_article_generated', $article_id, array( 'title' => sanitize_text_field( (string) $article_title ), 'body' => qcld_wpbot_ai_seo_kses_article( $article_body ), 'excerpt' => (string) $excerpt, 'keywords' => $keywords, 'regenerated' => (bool) $target, ), $request ); -
/** * Filter the outline and preset used for generation. Add-ons use this to add * instructions (e.g. a table of contents, a brand voice). */ apply_filters( 'qcld_wpbot_ai_seo_content_generation_args', array( 'outline' => $outline, 'preset' => $preset ), $request ); -
/** * Filter the article HTML before it is sent to WordPress. A changed value is * also saved back to the article. Add-ons use this for automatic internal * links. */ apply_filters( 'qcld_wpbot_ai_seo_content_publish_content', $clean_content, $article ); -
/** * Filter the extra on/off settings stored with the Content Generator settings. * Add-ons register their own toggles here. */ apply_filters( 'qcld_wpbot_ai_seo_content_settings_bool_fields', array() ); -
/** * Filter the writing tones. Add-ons can register more. */ apply_filters( 'qcld_wpbot_ai_seo_content_tones', array( 'professional' => __( 'Professional', 'chatbot' ), 'casual' => __( 'Casual', 'chatbot' ), 'friendly' => __( 'Friendly', 'chatbot' ), 'authoritative' => __( 'Authoritative', 'chatbot' ), ) ); -
/** * Fires after the app scripts are enqueued, before the app boots. Add-ons * enqueue their own script here (depend on 'qcld_wpbot_ai_seo-core') and * register features on QcldWpbotAiSeo.ext. */ do_action( 'qcld_wpbot_ai_seo_enqueue_app', $is_seo ? 'seo' : 'content' ); -
/** * Filter the rate limit for a public action. */ apply_filters( 'qcld_wpbot_ai_seo_ip_rate_limit', $limit, $action, $window ); -
/** * Filter to disable AI key health email notifications. */ apply_filters( 'qcld_wpbot_ai_seo_key_health_notifications', true ); -
/** * Fires after a module file is loaded. The module should register itself via * this hook. */ do_action( "qcld_wpbot_ai_seo_load_module_{$module_id}", $this ); -
/** * Fires after the plugin is fully loaded. */ do_action( 'qcld_wpbot_ai_seo_loaded', $this ); -
/** * Filter to disable AI usage tracking entirely. */ apply_filters( 'qcld_wpbot_ai_seo_track_ai_usage', true ); -
/** * Filter the AI HTTP timeout (seconds) used for interactive web requests. */ apply_filters( 'qcld_wpbot_ai_seo_web_http_timeout', 60, $max_tokens ); -
/** * Filter the default settings (the Pro module adds its keys here). */ apply_filters( 'qcld_wpbot_ao_default_settings', $defaults ); -
/** * Let the Pro module and extensions remove their data too. */ do_action( 'qcld_wpbot_ao_delete_all' ); -
/** * Filter the detected caching plugins. */ apply_filters( 'qcld_wpbot_ao_detected_plugins', $found ); -
/** * Filter what caching and optimisation plugins are told to leave alone. */ apply_filters( 'qcld_wpbot_ao_exclusions', $x ); -
/** * Filter what the browser guard receives (cached-page safety adds its part * here). */ apply_filters( 'qcld_wpbot_ao_guard_config', $config ); -
/** * Fires once the newest copy of WPBot Asset Cache is loaded. The Pro module * adds its filters first (priority 5); hosts then register their adapter * (priority 10), which sets the module up. */ do_action( 'qcld_wpbot_ao_loaded', $version ); -
/** * Fires once the module has a host and is set up for this request. */ do_action( 'qcld_wpbot_ao_ready', $this ); -
/** * Print more help. */ do_action( 'qcld_wpbot_ao_render_help', $status ); -
/** * Print extra Performance settings (the Pro module adds its own here). */ do_action( 'qcld_wpbot_ao_render_settings', $settings, $field ); -
/** * Fires after a cached file was switched back to its original. */ do_action( 'qcld_wpbot_ao_repaired', $handle, $type ); -
/** * Sanitize extra keys (the Pro module adds its own here). */ apply_filters( 'qcld_wpbot_ao_sanitize_settings', $clean, $input ); -
/** * The chatbot's abilities (Pro adds store, Automator, channels and settings * changes). */ apply_filters( 'qcld_wpbot_chat/abilities', $defs ); -
/** * Add a contact from an Action to a marketing list or tag. */ do_action( 'qcld_wpbot_chat/action_marketing_list', $email, isset( $step['list'] ) ? (string) $step['list'] : '', $data ); -
/** * An Action ran. */ do_action( 'qcld_wpbot_chat/action_ran', $outcome, $data, $message ); -
/** * Action step types (Pro adds REST connector, WordPress function, store * lookup, …). */ apply_filters( 'qcld_wpbot_chat/action_types', $types ); -
/** * Actions the AI may run: id => { id, name, description, tool, fields[], * steps[], availability; optional instructions (system text instead of the * form wording), limit (rate-limit bucket, default "action"), limit_users * (count logged-in visitors too), no_input (takes no fields) }. Actions * without a `form` are not tied to the AI Forms switch. */ apply_filters( 'qcld_wpbot_chat/actions', $actions ); -
/** * Print the host's header and ChatBot menu at the top of a module page. */ do_action( 'qcld_wpbot_chat/admin_page_header', $slug ); -
/** * The chatbot module's admin pages for the host's ChatBot menu (add yours * here). */ apply_filters( 'qcld_wpbot_chat/admin_pages', $pages ); -
/** * Parent menu of the module's admin pages ('' = none: the page is reachable by * URL only). */ apply_filters( 'qcld_wpbot_chat/admin_parent', $parent ); -
/** * Whether the engine answers the legacy widget's AI actions. */ apply_filters( 'qcld_wpbot_chat/ai_bridge', '0' !== (string) get_option( self::OPTION, '1' ) ); -
/** * HTML of a bridged JSON reply (hosts append page suggestions, product cards). */ apply_filters( 'qcld_wpbot_chat/ai_bridge_html', $html . self::extras_html( $reply ), $reply ); -
/** * Whether the engine answers this legacy AI request. */ apply_filters( 'qcld_wpbot_chat/ai_bridge_request', $bridge, $action, $post ); -
/** * Extra system text sent to the AI with a visitor's question. */ apply_filters( 'qcld_wpbot_chat/ai_context', $parts, $message ); -
/** * An AI Actions form was saved. */ do_action( 'qcld_wpbot_chat/ai_form_saved', $post_id, $title, $form['data'] ); -
/** * The providers AI Settings offers (ids from the ORDER list; the screen keeps * that order). */ apply_filters( 'qcld_wpbot_chat/ai_providers', self::DEFAULT_PROVIDERS ); -
/** * Print the host's header at the top of AI Settings. */ do_action( 'qcld_wpbot_chat/ai_settings_header' ); -
/** * Print the host's knowledge base screens. */ do_action( 'qcld_wpbot_chat/ai_settings_knowledge' ); -
/** * Print the host's knowledge base content table under the list. */ do_action( 'qcld_wpbot_chat/ai_settings_known' ); -
/** * Print the host's AI Wizard (its button is in the page header). */ do_action( 'qcld_wpbot_chat/ai_settings_wizard' ); -
/** * Hosts the chat's admin-ajax requests may come from (other domains of the * same site). */ apply_filters( 'qcld_wpbot_chat/allowed_hosts', $hosts ); -
/** * Whether this answer may come from, and go into, the answer cache. */ apply_filters( 'qcld_wpbot_chat/answer_cache', false, $question, $args ); -
/** * Whether this answer uses personal context and must not be cached (WPBot * Pro's customer context says yes). */ apply_filters( 'qcld_wpbot_chat/answer_personal', false ); -
/** * Answer scope for this reply. */ apply_filters( 'qcld_wpbot_chat/answer_scope', $scope ); -
/** * What the AI is told about the business. */ apply_filters( 'qcld_wpbot_chat/answer_scope_business', $business ); -
/** * Whether visitors can ask for a person in this chat (live chat). */ apply_filters( 'qcld_wpbot_chat/answer_scope_live_chat', false ); -
/** * The answer scope rules added to every AI provider's system prompt. */ apply_filters( 'qcld_wpbot_chat/answer_scope_rules', implode( "\n", $lines ), $scope ); -
/** * Kinds of change the approval queue knows (Help Desk adds article changes). */ apply_filters( 'qcld_wpbot_chat/change_kinds', $kinds ); -
/** * Whether a change waits for the owner's approval. */ apply_filters( 'qcld_wpbot_chat/change_needs_approval', ! empty( $kinds[ $kind ]['approval'] ), $kind, $input ); -
/** * Citations shown with a knowledge-based reply. */ apply_filters( 'qcld_wpbot_chat/citations', $citations, $results ); -
/** * Whether knowledge-based replies carry citations. */ apply_filters( 'qcld_wpbot_chat/citations_enabled', '0' !== (string) $value ); -
/** * Whether this reply carries the admin debug view. */ apply_filters( 'qcld_wpbot_chat/debug_allowed', $allowed ); -
/** * Admin pages (slugs) that show the error log notice. */ apply_filters( 'qcld_wpbot_chat/error_alert_pages', $pages ); -
/** * The error log alert's numbers (count of significant errors, newest last_seen * in GMT). */ apply_filters( 'qcld_wpbot_chat/error_alert_summary', $summary ); -
/** * Admin pages (slugs) that show the error log card: the hosts' Help pages. */ apply_filters( 'qcld_wpbot_chat/error_log_help_pages', array( 'wpbot_license_page', 'wpbot_help_page' ) ); -
/** * FAQ entry that answers a visitor's question (null for none). */ apply_filters( 'qcld_wpbot_chat/faq_match', $best, $text, $language ); -
/** * Show the Features page (hosts without Module Manager). */ apply_filters( 'qcld_wpbot_chat/features_page', false ); -
/** * The owner answered a knowledge gap. */ do_action( 'qcld_wpbot_chat/gap_answered', $gap, $answer ); -
/** * Write an article for a knowledge gap (Help Desk, AI Writer). Return the URL * to open. */ apply_filters( 'qcld_wpbot_chat/gap_write_article', '', $gap ); -
/** * Handoff buttons shown when the bot is not sure (CB4 adds Slack, Discord, * Telegram chat). */ apply_filters( 'qcld_wpbot_chat/handoff_buttons', $buttons ); -
/** * The host is known. Pro and add-ons register their features here. */ do_action( 'qcld_wpbot_chat/host_ready', $this ); -
/** * Order of the providers whose saved key is used for knowledge base embeddings * when the AI provider that answers has no embeddings. */ apply_filters( 'qcld_wpbot_chat/kb_embedding_fallback', array( 'openai', 'gemini', 'mistral', 'openrouter' ) ); -
/** * Source filter choices of "What the chatbot knows". */ apply_filters( 'qcld_wpbot_chat/kb_type_filters', $types ); -
/** * Launcher configuration (mode: interaction, idle or now; selectors; assets). */ apply_filters( 'qcld_wpbot_chat/launcher_config', $config ); -
/** * Whether the notification box needs the widget loaded without a click. */ apply_filters( 'qcld_wpbot_chat/lazy_notification', $on ); -
/** * Whether the widget loads on demand behind the launcher. */ apply_filters( 'qcld_wpbot_chat/lazy_widget', $on ); -
/** * A lead was captured in the chat. */ do_action( 'qcld_wpbot_chat/lead_captured', array( 'name' => $name, 'email' => $email, 'phone' => $phone, 'url' => $url, ) ); -
/** * The chatbot module is loaded. Hosts call register_host() here. */ do_action( 'qcld_wpbot_chat/loaded', $this ); -
/** * A visitor message arrived. */ do_action( 'qcld_wpbot_chat/message_received', $message ); -
/** * The bot answered. */ do_action( 'qcld_wpbot_chat/message_sent', $reply, $message ); -
/** * Defaults for options a site may not have stored yet. */ apply_filters( 'qcld_wpbot_chat/option_defaults', array_merge( self::DEFAULTS, $from_host ) ); -
/** * Page context lines sent to the AI (Pro adds metadata such as product price * and stock). */ apply_filters( 'qcld_wpbot_chat/page_context', $parts, $post ); -
/** * Whether the visitor may read this post through the AI (membership plugins * can say no). */ apply_filters( 'qcld_wpbot_chat/page_context_allowed', $ok, $post, $labels ); -
/** * Size limit of the page text sent to the AI, in characters. */ apply_filters( 'qcld_wpbot_chat/page_context_max', self::MAX_CHARS, $post ); -
/** * The pattern that finds a visitor asking for a person (lower-case text). */ apply_filters( 'qcld_wpbot_chat/person_request_pattern', $pattern ); -
/** * Conversation steps, in order. Pro and add-ons add or replace steps here. */ apply_filters( 'qcld_wpbot_chat/pipeline_steps', $steps ); -
/** * Answer the review without calling the AI (tests): return the AI's text, or * null to call it. */ apply_filters( 'qcld_wpbot_chat/pre_answer_review', null, $prompt ); -
/** * Delay before the widget's files are prefetched after the page loaded (0 * turns it off). */ apply_filters( 'qcld_wpbot_chat/prefetch_delay', 0 ); -
/** * Rate limit of a visitor action. */ apply_filters( 'qcld_wpbot_chat/rate_limit', $limit, $bucket ); -
/** * Text shown when a visitor reached the daily AI reply limit. */ apply_filters( 'qcld_wpbot_chat/rate_limit_text', __( 'You have reached the limit of AI answers for today. Please try again tomorrow.', 'chatbot' ) ); -
/** * Whether the chatbot records this reply in WPBot Core's usage log (default * yes). */ apply_filters( 'qcld_wpbot_chat/record_usage', true, $provider, $feature ); -
/** * Register switchable features (Module Manager entries). */ do_action( 'qcld_wpbot_chat/register_modules', $this ); -
/** * Whether the legacy wpbo_search_site handler answers (default: Extended * Search is on and no module handles it yet). */ apply_filters( 'qcld_wpbot_chat/search_legacy_handler', '1' === (string) Options::get( 'active_advance_query', '' ) && ( function_exists( 'qcpd_wppt_search_fnc' ) || class_exists( 'qc_wpsaas' ) ) ); -
/** * Results per page. */ apply_filters( 'qcld_wpbot_chat/search_limit', (int) Options::get( 'wpbot_search_result_number', 5 ) ); -
/** * Post types site search covers. */ apply_filters( 'qcld_wpbot_chat/search_post_types', $types ); -
/** * A chat session was saved. */ do_action( 'qcld_wpbot_chat/session_saved', $session_id, $user_id, $is_new ); -
/** * Whether chat sessions are saved. */ apply_filters( 'qcld_wpbot_chat/sessions_enabled', function_exists( 'qcld_wb_chatbot_conversation_save' ) ); -
/** * The chatbot's answer while AI is paused by a spending limit. */ apply_filters( 'qcld_wpbot_chat/spend_fallback_reply', $default, (string) $question ); -
/** * Extra report actions (WPBot Pro adds CSV export). */ do_action( 'qcld_wpbot_chat/spend_report_actions', $range ); -
/** * Visitor text used for matching (Pro: stop words removed). */ apply_filters( 'qcld_wpbot_chat/str_keyword', $keyword, $language ); -
/** * Whether the legacy wpbo_search_response handler answers (default: when STR * Pro is loaded and no module handles its categories yet). */ apply_filters( 'qcld_wpbot_chat/str_legacy_handler', class_exists( 'Qcld_str_pro' ) ); -
/** * Answer before the built-in matching (Pro: Simple Text Response categories). */ apply_filters( 'qcld_wpbot_chat/str_pre_match', null, $keyword, $language ); -
/** * Visitor IP used for rate limits (for sites behind a trusted proxy). */ apply_filters( 'qcld_wpbot_chat/visitor_ip', $ip ); -
/** * The visitor's access labels (add membership:*, course:*, purchased:* …). */ apply_filters( 'qcld_wpbot_chat/visitor_labels', $labels, $message, $user ); -
/** * Modules add their section id here to switch it to the grid. */ apply_filters( 'qcld_wpbot_core/adopted_sections', array() ); -
/** * Filter the provider catalogue (add models, change prices). */ apply_filters( 'qcld_wpbot_core/ai_providers', $providers ); -
/** * URL of a module's AI settings ("Settings & AI Provider") page. */ apply_filters( 'qcld_wpbot_core/ai_settings_url', $url, $module ); -
/** * Call Bing Webmaster Tools with the owner's key: callable( $method, $args ) * returning the "d" payload or WP_Error. */ apply_filters( 'qcld_wpbot_core/bing_webmaster_call', null ); -
/** * The brand: colours plus name, logo, url. */ apply_filters( 'qcld_wpbot_core/brand', $brand ); -
/** * Use Google Business Profile (adds the business.manage permission to the * Google connection). */ apply_filters( 'qcld_wpbot_core/business_profile_enabled', false ); -
/** * The Meta app id the chatbot channels use ('' when none). */ apply_filters( 'qcld_wpbot_core/channel_meta_app_id', (string) get_option( 'wpfb_app_id', '' ) ); -
/** * More competitor candidates (for example from a keyword data provider). Each * is verified like the AI's. */ apply_filters( 'qcld_wpbot_core/competitor_candidates', $candidates, $args ); -
/** * The address opened to check a suggested competitor (tests point it at a mock * server). */ apply_filters( 'qcld_wpbot_core/competitor_check_url', 'https://' . $domain . '/', $domain ); -
/** * Site names never suggested as competitors (the label before the top-level * domain, e.g. "amazon"). */ apply_filters( 'qcld_wpbot_core/competitor_skip_hosts', self::SKIP ); -
/** * The shared competitor list changed. */ do_action( 'qcld_wpbot_core/competitors_changed', $list ); -
/** * Fires when a connection's health changes. */ do_action( 'qcld_wpbot_core/connection_status_changed', $connection, $account, $status, $cause ); -
/** * Modules whose AI may build the Business Context, in order. */ apply_filters( 'qcld_wpbot_core/context_ai_modules', array( 'writer', 'seo', 'marketing', 'studio' ) ); -
/** * Where the owner edits Brand & Business (AI Writer sets its own tab; '' hides * the link). */ apply_filters( 'qcld_wpbot_core/context_brand_url', function_exists( 'qcld_wpbot_writer_open_brief_url' ) ? admin_url( 'admin.php?page=wpbot-ai-writer&tab=voice' ) : '' ); -
/** * Facts about the business that modules already have, label => text or list of * texts. No personal data. */ apply_filters( 'qcld_wpbot_core/context_facts', array() ); -
/** * Post ids that matter most, best first (for example by search clicks). */ apply_filters( 'qcld_wpbot_core/context_important_posts', array() ); -
/** * Admin page slugs where WPBot asks the owner to fill in Business Context. */ apply_filters( 'qcld_wpbot_core/context_notice_pages', array( 'wpbot-marketing', 'wpbot-ai-writer', 'wpbot-seo-ai-search', 'wpbot-social' ) ); -
/** * Sources modules add (or change) on the Business Context screen. */ apply_filters( 'qcld_wpbot_core/context_sources', $sources, $state ); -
/** * Filter the embeddings catalogue. */ apply_filters( 'qcld_wpbot_core/embedding_providers', $providers ); -
/** * Days an error stays in the log. */ apply_filters( 'qcld_wpbot_core/error_log_days', 30 ); -
/** * Whether WPBot records PHP errors from its own files (on by default). */ apply_filters( 'qcld_wpbot_core/error_log_php', true ); -
/** * Most errors the log keeps. */ apply_filters( 'qcld_wpbot_core/error_log_rows', 1000 ); -
/** * Folders whose errors the error log records. Each WPBot plugin adds its own * folder. */ apply_filters( 'qcld_wpbot_core/error_paths', Net::own_paths() ); -
/** * Whether the browser error reporter loads on this front-end page. */ apply_filters( 'qcld_wpbot_core/error_reporter_front', Error_Log::settings()['browser'] ); -
/** * Patterns that remove secrets from the error log and the support report * (pattern => replacement). */ apply_filters( 'qcld_wpbot_core/error_scrub_patterns', $patterns ); -
/** * This action is documented in the class docblock. */ do_action( 'qcld_wpbot_core/experiment_apply', $view, $variant ); -
/** * Counts from a measurement adapter (Search Console for meta title tests, an * email sender for email tests). */ apply_filters( 'qcld_wpbot_core/experiment_counts', $counts, $exp ); -
/** * Pages with tests started or ended: purge cached copies. */ do_action( 'qcld_wpbot_core/experiments_changed', $ids ); -
/** * Consent mode for experiment cookies and counting. */ apply_filters( 'qcld_wpbot_core/experiments_consent_mode', $mode ); -
/** * Another provider to try when one fails ('' = none). */ apply_filters( 'qcld_wpbot_core/fallback_provider', '', $provider, $error, $context ); -
/** * Use free Bing keyword data when no other source is set (default on). */ apply_filters( 'qcld_wpbot_core/free_keyword_data', true ); -
/** * Google Ads API version used for reports. */ apply_filters( 'qcld_wpbot_core/google_ads_api_version', self::API_VERSION ); -
/** * Write scopes a module needs after the owner turned its feature on (for * example WPBot Social's YouTube Shorts uploads). Only scopes on the * WRITE_SCOPES list are accepted. */ apply_filters( 'qcld_wpbot_core/google_write_scopes', array() ); -
/** * Fires when every step of a job is done. */ do_action( 'qcld_wpbot_core/job_done', self::get( $job_id ) ); -
/** * Register step handlers: kind => callable. */ apply_filters( 'qcld_wpbot_core/job_handlers', array() ); -
/** * Which embedding model the knowledge base uses. */ apply_filters( 'qcld_wpbot_core/kb_embedding', null ); -
/** * Text of a post in the knowledge base (hosts add product data, custom * fields…). */ apply_filters( 'qcld_wpbot_core/kb_post_text', $text, $post ); -
/** * Post types the knowledge base reads (hosts list the ones the owner turned * on). */ apply_filters( 'qcld_wpbot_core/kb_post_types', array() ); -
/** * Most recent chunks scored by vector besides the FULLTEXT hits. */ apply_filters( 'qcld_wpbot_core/kb_scan_limit', isset( $args['scan_limit'] ) ? (int) $args['scan_limit'] : 2000 ); -
/** * Knowledge sources besides post types. */ apply_filters( 'qcld_wpbot_core/kb_sources', $sources ); -
/** * Keyword provider endpoint (tests point it at a mock). */ apply_filters( 'qcld_wpbot_core/keyword_endpoint', $url, $this->id() ); -
/** * Use Google Keyword Planner (SEO & AI Search Pro turns it on). */ apply_filters( 'qcld_wpbot_core/keyword_planner_enabled', false ); -
/** * Keyword data providers. */ apply_filters( 'qcld_wpbot_core/keyword_providers', array( 'dataforseo' => Providers\Data_For_Seo::class, 'keywordseverywhere' => Providers\Keywords_Everywhere::class, 'semrush' => Providers\Semrush::class, ) ); -
/** * Fires once the newest copy of WPBot Core has booted. Hosts register their * adapter here; modules hook in after it. */ do_action( 'qcld_wpbot_core/loaded' ); -
/** * Whether a chatbot channel uses this Page's Meta connection. */ apply_filters( 'qcld_wpbot_core/meta_connection_in_use', false, (string) $page_id ); -
/** * Whether WPBot Core reads current model prices from OpenRouter's public model * list. */ apply_filters( 'qcld_wpbot_core/model_price_feed', true ); -
/** * Shared module pages: id, title (translated) and admin URL. */ apply_filters( 'qcld_wpbot_core/module_pages', array() ); -
/** * Pattern of model ids that are not chat models. */ apply_filters( 'qcld_wpbot_core/non_chat_models', $skip, $provider ); -
/** * Arguments for reading a page the owner named. */ apply_filters( 'qcld_wpbot_core/page_reader_args', array( 'timeout' => 15, 'redirection' => 3, 'limit_response_size' => self::MAX_BYTES, 'user-agent' => self::user_agent(), 'headers' => array( 'Accept' => 'text/html,text/plain;q=0.9' ), ) ); -
/** * Add sections (label and description). Adoption is set through * qcld_wpbot_core/adopted_sections. */ apply_filters( 'qcld_wpbot_core/permission_sections', $sections ); -
/** * Choose the primary host when several plugins bundle WPBot Core. */ apply_filters( 'qcld_wpbot_core/primary_host', $default, $ids ); -
/** * The product name shown on module screens. */ apply_filters( 'qcld_wpbot_core/product_name', $name ); -
/** * Providers whose API reads PDF documents. */ apply_filters( 'qcld_wpbot_core/providers_reading_pdf', array( 'openai', 'claude', 'gemini', 'openrouter' ) ); -
/** * Redaction patterns, marker => PCRE pattern. */ apply_filters( 'qcld_wpbot_core/redact_patterns', $patterns ); -
/** * Retired models and their replacements. */ apply_filters( 'qcld_wpbot_core/retired_models', $retired ); -
/** * The model for this request (cheap or strong model per question). */ apply_filters( 'qcld_wpbot_core/route_model', $chosen, $provider, $context ); -
/** * Change the detected SEO plugin. */ apply_filters( 'qcld_wpbot_core/seo_plugin', $found ); -
/** * The module that started the login stores the tokens. */ apply_filters( 'qcld_wpbot_core/social_authorized', null, $app, $tokens, $payload ); -
/** * Refresh tokens for apps added by modules. */ apply_filters( 'qcld_wpbot_core/social_refresh', null, $app, $tokens ); -
/** * Filter the AI hosts the spending safety net watches (host => provider id). */ apply_filters( 'qcld_wpbot_core/spend_ai_hosts', $hosts ); -
/** * Filter who receives the spending alerts. */ apply_filters( 'qcld_wpbot_core/spend_alert_recipients', $emails, $settings ); -
/** * Capability for the spending screens and REST routes. */ apply_filters( 'qcld_wpbot_core/spend_capability', 'manage_options' ); -
/** * Filter which spending group a module's feature belongs to. */ apply_filters( 'qcld_wpbot_core/spend_feature_group', $group, $module, $feature ); -
/** * Filter the spending groups (id => label). Ids are lowercase keys. */ apply_filters( 'qcld_wpbot_core/spend_features', $groups ); -
/** * Hourly spending check (WPBot Pro's spike alert listens here). */ do_action( 'qcld_wpbot_core/spend_hourly', Spend::status() ); -
/** * A limit stopped an AI call (once per scope and request). */ do_action( 'qcld_wpbot_core/spend_limit_reached', $scope, $reason, $module, $feature ); -
/** * Whether the spending notice shows on this admin screen (default: the * dashboard and WPBot screens). */ apply_filters( 'qcld_wpbot_core/spend_notice_screen', 'dashboard' === $id || (bool) preg_match( '/wpbot|chatbot|qcld|openai/i', $id ), $id ); -
/** * Filter the folders whose AI requests the safety net counts (absolute paths). */ apply_filters( 'qcld_wpbot_core/spend_own_paths', $paths ); -
/** * Filter how calling files map to spending groups (path fragment => group id; * first match wins). */ apply_filters( 'qcld_wpbot_core/spend_path_groups', $map ); -
/** * Filter the prices that are not per token (and the cached-input shares). */ apply_filters( 'qcld_wpbot_core/spend_prices', $table ); -
/** * One AI call was recorded (alerts listen here). */ do_action( 'qcld_wpbot_core/spend_recorded', $row ); -
/** * Extra report sections: 'channels', 'providers', 'csv' (WPBot Pro registers * them). */ apply_filters( 'qcld_wpbot_core/spend_report_sections', array() ); -
/** * URL of the AI Usage report page (hosts register the page). */ apply_filters( 'qcld_wpbot_core/spend_report_url', self::settings() ); -
/** * Spending settings were saved (jobs paused by a limit get another chance). */ do_action( 'qcld_wpbot_core/spend_settings_saved', $all ); -
/** * URL of the Spending and limits screen. */ apply_filters( 'qcld_wpbot_core/spend_settings_url', $url, $group ); -
/** * Owner-facing name of a task in the spending screens. */ apply_filters( 'qcld_wpbot_core/spend_task_label', $label, $module, $feature ); -
/** * Once a week on the owner's weekday (WPBot Pro sends its summary email here). */ do_action( 'qcld_wpbot_core/spend_weekly', $settings ); -
/** * Where support reports are sent. */ apply_filters( 'qcld_wpbot_core/support_email', self::EMAIL ); -
/** * Sections of the support report: title => array of label => value, or a list * of lines. Modules add their settings here. Never add keys, tokens or visitor * data. */ apply_filters( 'qcld_wpbot_core/support_report', $sections ); -
/** * Whether a model can call tools natively. */ apply_filters( 'qcld_wpbot_core/supports_tools', $supported, $provider, $model ); -
/** * The technique library. Add or tune entries (same shape as the files in * src/Persuasion/techniques/). */ apply_filters( 'qcld_wpbot_core/techniques', $entries ); -
/** * Fires after a Vault entry is added, changed or deleted. */ do_action( 'qcld_wpbot_core/vault_changed', (int) $id, $action, $fields ); -
/** * Fires when real rank data moves a Vault keyword in or out of "ranking". */ do_action( 'qcld_wpbot_core/vault_rank_changed', (int) $id, $entry['status'], $fields['status'], $fields ); -
/** * Voice of customer sources. */ apply_filters( 'qcld_wpbot_core/voc_sources', $sources ); -
/** * Use YouTube search (adds the read-only YouTube permission to the Google * connection). */ apply_filters( 'qcld_wpbot_core/youtube_enabled', false ); -
/** * Fires below a Help section (WPBot Free), for example to add what WPBot Pro * adds. */ do_action( 'qcld_wpbot_free_help_section', $current ); -
/** * WPBot Free Help sections. */ apply_filters( 'qcld_wpbot_free_help_sections', $sections ); -
/** * WPBot Pro's features as WPBot Free shows them. */ apply_filters( 'qcld_wpbot_free_pro_features', $features ); -
/** * Whether other plugins' admin notices are hidden on this screen. */ apply_filters( 'qcld_wpbot_hide_foreign_notices', $own, (string) $hook_suffix ); -
/** * Colour of the loader's glass spheres ('' = the blue of the WPBot logo). */ apply_filters( 'qcld_wpbot_loader_color', '' ); -
/** * Pace of the loader's motion (1.5 by default; 1 is the original pace). */ apply_filters( 'qcld_wpbot_loader_speed', 1.5 ); -
/** * Loader while the bot waits: "weave" (default) or "classic" (the old typing * GIF). */ apply_filters( 'qcld_wpbot_loader_style', 'weave' ); -
/** * Data for the admin app; extensions add their own keys. */ apply_filters( 'qcld_wpbot_seo/admin_data', array( 'version' => QCLD_WPBOT_SEO_VERSION, 'module' => Module::ID, 'nonce' => wp_create_nonce( 'wp_rest' ), 'can' => array( 'view' => current_user_can( Module::cap( 'view' ) ), 'use' => current_user_can( Module::cap( 'use' ) ), 'publish' => current_user_can( Module::cap( 'publish' ) ), 'settings' => current_user_can( Module::cap( 'settings' ) ), 'keys' => current_user_can( 'manage_options' ) &... ); -
/** * The module page's scripts are enqueued; extensions (the Pro module) enqueue * theirs here, depending on qcld-wpbot-seo-admin. */ do_action( 'qcld_wpbot_seo/admin_enqueue', self::HANDLE ); -
/** * Whether Google Ads data is connected (S13 sets this). */ apply_filters( 'qcld_wpbot_seo/ads_connected', false ); -
/** * Paid searches were imported (Vault, map and opportunity updates hook in). */ do_action( 'qcld_wpbot_seo/ads_pulled', $source ); -
/** * Latest AI visibility score (0–100), from the Pro module; null without one. */ apply_filters( 'qcld_wpbot_seo/ai_visibility_score', null ); -
/** * Searches whose exact wording should not be used as anchors. */ apply_filters( 'qcld_wpbot_seo/anchor_queries', array_filter( $queries ), $item ); -
/** * Filter the services suggested for the area planner. */ apply_filters( 'qcld_wpbot_seo/area_services', array_values( $out ) ); -
/** * Filter the service and area planner view (Pro adds "Write this page"). */ apply_filters( 'qcld_wpbot_seo/area_view', $view ); -
/** * An audit was recorded (the Pro module alerts on score drops). */ do_action( 'qcld_wpbot_seo/audit_recorded', (int) $post_id, (int) $score, null === $previous ? null : (int) $previous, $trigger ); -
/** * Citation directories for a country and business type. */ apply_filters( 'qcld_wpbot_seo/citation_directories', $list, $country, $type ); -
/** * Cost of finding places for some searches (Pro adds its search results cost). */ apply_filters( 'qcld_wpbot_seo/cited_estimate', array( 'cost' => round( $cost * $count, 4 ), 'searches' => $count, 'web_search' => $web, 'youtube' => self::youtube_on(), ) ); -
/** * More places for a search (Pro adds Google's results from a keyword data * provider). Each is checked like the AI's. */ apply_filters( 'qcld_wpbot_seo/cited_places', $found, $search ); -
/** * Platforms for Get cited by AI. */ apply_filters( 'qcld_wpbot_seo/cited_platforms', $list ); -
/** * The owner logged a post on another site (Get cited by AI). */ do_action( 'qcld_wpbot_seo/cited_posted', $id, self::get( $id ) ); -
/** * More rules for Get cited by AI drafts. Rules can be added, never removed. */ apply_filters( 'qcld_wpbot_seo/cited_rules', array() ); -
/** * The address read for a place's text (tests point it at a mock). */ apply_filters( 'qcld_wpbot_seo/cited_thread_url', (string) $url ); -
/** * Short-circuit a competitor fetch (tests and caching). */ apply_filters( 'qcld_wpbot_seo/competitor_fetch', null, $url ); -
/** * Most opportunities kept per content type. */ apply_filters( 'qcld_wpbot_seo/content_opportunity_cap', self::CAP ); -
/** * Daily maintenance for other parts of the module (Analytics pull, results, * 404 pruning) and the Pro module. */ do_action( 'qcld_wpbot_seo/daily' ); -
/** * Dashboard data; later milestones and the Pro module add their parts. */ apply_filters( 'qcld_wpbot_seo/dashboard_data', $data, $args ); -
/** * Fires after the module's data was deleted (extensions clean up). */ do_action( 'qcld_wpbot_seo/delete_all' ); -
/** * Change in weekly clicks that counts as news on its own (0.1 = 10%). */ apply_filters( 'qcld_wpbot_seo/email_trend_threshold', 0.1 ); -
/** * An exchange was checked (Pro raises alerts when a partner's link is removed * or changed). */ do_action( 'qcld_wpbot_seo/exchange_checked', $after, $item['status'] ); -
/** * A fix or change was saved. */ do_action( 'qcld_wpbot_seo/fix_applied', isset( $change['post_id'] ) ? (int) $change['post_id'] : 0, array_merge( $change, array( 'change_id' => $id ) ) ); -
/** * Fires after Google Analytics data was imported or updated. */ do_action( 'qcld_wpbot_seo/ga_pulled' ); -
/** * Business Profile view (Pro adds performance). */ apply_filters( 'qcld_wpbot_seo/gbp_view', $out ); -
/** * Fires after Search Console data was imported or updated. */ do_action( 'qcld_wpbot_seo/gsc_pulled', isset( $job['payload']['mode'] ) ? (string) $job['payload']['mode'] : 'daily' ); -
/** * Rows per Search Console request and job step. */ apply_filters( 'qcld_wpbot_seo/gsc_rows_per_step', self::ROWS ); -
/** * On-page and technical checks. Each: id => callable( array $page, string * $text, int $words ): array|null with label, severity, message, why, fix. */ apply_filters( 'qcld_wpbot_seo/issue_checks', $checks ); -
/** * Job step handlers of the module; the Pro module adds its own. */ apply_filters( 'qcld_wpbot_seo/job_steps', $own ); -
/** * Most searches in one volume lookup (the Pro module raises it for bulk * lookups). */ apply_filters( 'qcld_wpbot_seo/keyword_lookup_max', 200 ); -
/** * Whether to print the FAQ schema kept from the old SEO Analyzer. */ apply_filters( 'qcld_wpbot_seo/legacy_faq_schema', true, $post_id, $items ); -
/** * A link was added to the monitor. */ do_action( 'qcld_wpbot_seo/link_added', $id, $origin ); -
/** * Short-circuit a fetch (tests and caching). */ apply_filters( 'qcld_wpbot_seo/link_check_fetch', null, $url ); -
/** * HTML of a page checked for a link (tests can replace it). */ apply_filters( 'qcld_wpbot_seo/link_check_html', $page['body'], $source ); -
/** * A known link changed status (for example live to lost). */ do_action( 'qcld_wpbot_seo/link_status_changed', self::get( $id ), $before['status'] ); -
/** * Description of a page in llms.txt (Pro uses AI-written descriptions the * owner reviewed). */ apply_filters( 'qcld_wpbot_seo/llms_txt_description', $text, (int) $post_id ); -
/** * Is this post locked to members or otherwise hidden from visitors? Membership * plugins answer here. */ apply_filters( 'qcld_wpbot_seo/llms_txt_gated', $gated, $post ); -
/** * Other caches can drop their copy here. */ do_action( 'qcld_wpbot_seo/llms_txt_purge', $url ); -
/** * The llms.txt file changed (the live check runs shortly after). */ do_action( 'qcld_wpbot_seo/llms_txt_rebuilt', $cache ); -
/** * Another reason to leave a page out (Pro: the daily link check found it * broken or behind a login). '' keeps it. */ apply_filters( 'qcld_wpbot_seo/llms_txt_refusal', '', $post ); -
/** * Address listed for a page. */ apply_filters( 'qcld_wpbot_seo/llms_txt_url', (string) get_permalink( $post_id ), (int) $post_id ); -
/** * Fires once SEO & AI Search has booted. Hosts register their adapter here; * the Pro module boots on it (priority 20). */ do_action( 'qcld_wpbot_seo/loaded' ); -
/** * A main search and supporting searches suggested for a page (Pro swaps in * supporting searches from the same Keyword Planner group, with volumes). */ apply_filters( 'qcld_wpbot_seo/map_suggestion', $suggestion, (int) $post_id ); -
/** * A rebuild starts (types clear their per-rebuild caches). */ do_action( 'qcld_wpbot_seo/opportunities_rebuild_start' ); -
/** * The list was rebuilt (Pro raises an alert for new opportunities). */ do_action( 'qcld_wpbot_seo/opportunities_rebuilt', array_count_values( $new ), $open ); -
/** * Reason text for types added by extensions. */ apply_filters( 'qcld_wpbot_seo/opportunity_reason', '', $type, $numbers ); -
/** * Business relevance of an opportunity, 0–1 (topics from the Business * Profile or the topic map can lower unrelated ones). */ apply_filters( 'qcld_wpbot_seo/opportunity_relevance', 1.0, $candidate ); -
/** * Opportunity types. The Pro module adds chat questions and competitor gaps; * other modules can add their own. */ apply_filters( 'qcld_wpbot_seo/opportunity_types', $types ); -
/** * Outreach sending options shown in the app (Pro adds "send"). */ apply_filters( 'qcld_wpbot_seo/outreach_sending', array( 'can_send' => false, 'daily_limit' => 0, 'sent_today' => 0, ) ); -
/** * Page data for other modules. */ apply_filters( 'qcld_wpbot_seo/page_data', $data, $post_id ); -
/** * Issues after the built-in checks (the Pro module and other modules add their * own through qcld_wpbot_seo/issue_checks). */ apply_filters( 'qcld_wpbot_seo/page_issues', $issues, $page ); -
/** * The SEO & AI Search admin page slug. */ apply_filters( 'qcld_wpbot_seo/page_slug', '' !== $slug ? $slug : Admin\Admin_Controller::SLUG ); -
/** * Which host leads when several bundle the module. */ apply_filters( 'qcld_wpbot_seo/primary_host', $default, $ids ); -
/** * Other matches (the Pro module adds pattern redirects). */ apply_filters( 'qcld_wpbot_seo/redirect_match', null, $key ); -
/** * Referral rows (label, sessions) before filtering. */ apply_filters( 'qcld_wpbot_seo/referrals', $rows, $days ); -
/** * Register features (the Pro module adds its own here). */ do_action( 'qcld_wpbot_seo/register_features', $this->features ); -
/** * Extra sections for the weekly email and reports. */ apply_filters( 'qcld_wpbot_seo/report_sections', array(), $facts ); -
/** * Reviews were read from Google (Pro alerts on new and negative ones). */ do_action( 'qcld_wpbot_seo/reviews_synced', $new, empty( $synced['location'] ) || $synced['location'] !== $link['name'] ); -
/** * Reviews view (Pro adds the monthly trend and request settings). */ apply_filters( 'qcld_wpbot_seo/reviews_view', $out ); -
/** * Settings the Pro module or other extensions save in their own option; return * the changes left for the core. */ apply_filters( 'qcld_wpbot_seo/save_settings', $changes ); -
/** * A technical scan finished. */ do_action( 'qcld_wpbot_seo/scan_completed', $scan_id, $result ); -
/** * Schema nodes WPBot prints (S5 adds LocalBusiness). */ apply_filters( 'qcld_wpbot_seo/schema_graph', $nodes ); -
/** * Active SEO plugin id ('' when none). */ apply_filters( 'qcld_wpbot_seo/seo_plugin', $id ); -
/** * Settings after defaults; extensions read their own keys from the same option * through qcld_wpbot_seo/settings_fields. */ apply_filters( 'qcld_wpbot_seo/settings', $all ); -
/** * Months of daily data to keep. The Pro module raises this past Search * Console's 16 months when the owner chooses. */ apply_filters( 'qcld_wpbot_seo/storage_months', $months ); -
/** * Label and fix for technical checks added by extensions. */ apply_filters( 'qcld_wpbot_seo/technical_check_text', $text, $check ); -
/** * Technical issues after the built-in checks (the Pro module adds its own). */ apply_filters( 'qcld_wpbot_seo/technical_issues', $issues, $pages, $summary ); -
/** * Numbers for an AI topic gap (Pro adds Keyword Planner volumes). Return an * array; only real numbers with their source. */ apply_filters( 'qcld_wpbot_seo/topic_gap_numbers', array( 'ai' => true, 'topic' => (string) $gap['topic'], 'reason' => (string) $gap['reason'], ), $gap ); -
/** * New AI topic gaps (Pro looks up their search volumes before the list is * rebuilt). */ do_action( 'qcld_wpbot_seo/topic_gaps_found', $gaps ); -
/** * Topic map rows for the screen (the Pro module adds competitor coverage). */ apply_filters( 'qcld_wpbot_seo/topics', $topics ); -
/** * Fires before the Custom CSS section (WPBot Asset Cache adds its Performance * section here). */ do_action( 'qcld_wpbot_settings_sections_before_custom_css' ); -
/** * Fires before the Custom CSS tab (WPBot Asset Cache adds its Performance tab * here). */ do_action( 'qcld_wpbot_settings_tabs_before_custom_css' ); -
/** * Whether a brand exists and the current user may use it. The Master module * answers; without it there are no brands. */ apply_filters( 'qcld_wpbot_social/brand_valid', false, $brand_id ); -
/** * A brand's voice (the Master module answers from its Brands). */ apply_filters( 'qcld_wpbot_social/brand_voice', '', $brand ); -
/** * Filters Social's calendar items (the Master module adds queue slots). */ apply_filters( 'qcld_wpbot_social/calendar_items', $items, $from, $to ); -
/** * Information for one target that does not block posting (for example a * network's price per post). */ apply_filters( 'qcld_wpbot_social/check_notes', array(), $draft, $account ); -
/** * Formats a network supports beyond one post (the Master module adds them): * network => [ 'thread', 'first_comment' ]. */ apply_filters( 'qcld_wpbot_social/formats', array() ); -
/** * Fires once WPBot Social has booted. The host registers its adapter here; the * Master module boots on it (priority 20). */ do_action( 'qcld_wpbot_social/loaded' ); -
/** * A Post yourself target is due: the owner is reminded. */ do_action( 'qcld_wpbot_social/manual_due', $row, $account ); -
/** * Text limits for Post yourself networks. */ apply_filters( 'qcld_wpbot_social/manual_limits', $max ); -
/** * Network names (the Master module adds its networks). */ apply_filters( 'qcld_wpbot_social/network_labels', $labels ); -
/** * Filters the network adapters. */ apply_filters( 'qcld_wpbot_social/networks', $list ); -
/** * A post was saved (the Master module records queue slots and evergreen * posts). */ do_action( 'qcld_wpbot_social/post_saved', (int) $id, $input, $status, $built['schedule_at'], array_map( 'intval', wp_list_pluck( $built['targets'], 'account_id' ) ) ); -
/** * A target failed for good or needs the owner to check. */ do_action( 'qcld_wpbot_social/publish_failed', $row, $fields ); -
/** * A target was published. */ do_action( 'qcld_wpbot_social/published', $row, $fields ); -
/** * The next free queue slot for these accounts (the Master module's queue), as * GMT "Y-m-d H:i:s", or ''. */ apply_filters( 'qcld_wpbot_social/queue_time', '', array_map( 'intval', wp_list_pluck( $targets, 'account_id' ) ) ); -
/** * Fires when Social's features have started (mode "free" or "master"; check * Module::mode() for Master-only work). */ do_action( 'qcld_wpbot_social/started' ); -
/** * Why no token is available, from the module that supplies it (for example a * token refresh that is busy or hit a network blip: retryable, no reconnect). */ apply_filters( 'qcld_wpbot_social/target_problem', null, $account ); -
/** * Token for networks added by the Master module. */ apply_filters( 'qcld_wpbot_social/target_token', '', $account ); -
/** * Brands a person may see and use (null = all brands). */ apply_filters( 'qcld_wpbot_social/user_brands', null, $user ); -
/** * Whether Write with AI may write for several networks at once. */ apply_filters( 'qcld_wpbot_social/write_multi', false ); -
/** * How many alternative versions to ask for in the same call (Master: * variants). */ apply_filters( 'qcld_wpbot_social/write_variants', 0, $network ); -
/** * Writing rules per network (the Master module adds its networks). */ apply_filters( 'qcld_wpbot_social/writing_rules', $rules ); -
/** * Steps of an article after its outline (extensions add steps, for example a * deeper humanize pass, before "Creating the draft"). */ apply_filters( 'qcld_wpbot_writer/article_steps', $steps, $job ); -
/** * Brief prefill suggestions (AI Writer Pro adds the Site Profile audience, the * voice of the content type and ranking-page length). */ apply_filters( 'qcld_wpbot_writer/brief_prefill', $out, $topic, $context ); -
/** * The voice an article is written in (Pro: the brief's chosen voice). */ apply_filters( 'qcld_wpbot_writer/brief_voice', Voices::site_voice(), $brief ); -
/** * The "about the business" part of AI Writer's prompts. */ apply_filters( 'qcld_wpbot_writer/business_prompt', $text, $context ); -
/** * Add calendar items from other modules (Social, AI Marketing). Each item: id * (string), type, source_module, title, date (Y-m-d H:i:s, site time zone), * status, edit_url, movable (bool). */ apply_filters( 'qcld_wpbot_writer/calendar_items', $items, $start, $end ); -
/** * Kinds of copy Compare techniques offers (add one for a new place copy is * written). */ apply_filters( 'qcld_wpbot_writer/compare_kinds', $kinds ); -
/** * Versions per comparison. */ apply_filters( 'qcld_wpbot_writer/compare_max', 2 ); -
/** * Mixing parts of compared versions ("opening from B, close from A"). */ apply_filters( 'qcld_wpbot_writer/compare_mix', false ); -
/** * Suggested techniques for a comparison, best first (P4 puts this site's past * winners first). */ apply_filters( 'qcld_wpbot_writer/compare_suggest', $ids, $req, $stage ); -
/** * Shared connections the registered features use (Connections settings show * these). Default: Google Search Console. */ apply_filters( 'qcld_wpbot_writer/connections', array( 'google' ) ); -
/** * A piece is finished: its draft and content package are saved. The shared * keyword and topic map records its main search and topic here * (Topics\Map_Sync). */ do_action( 'qcld_wpbot_writer/content_finalized', $post_id, $brief, qcld_wpbot_writer_get_package( (int) $post_id ) ); -
/** * A finished AI Writer piece went live. */ do_action( 'qcld_wpbot_writer/content_published', (int) $post->ID, qcld_wpbot_writer_get_package( (int) $post->ID ) ); -
/** * Add content types. */ apply_filters( 'qcld_wpbot_writer/content_types', $types ); -
/** * Coverage view items (Pro adds cluster links and a rank). */ apply_filters( 'qcld_wpbot_writer/coverage', $items ); -
/** * Let extensions remove their data too. */ do_action( 'qcld_wpbot_writer/delete_all' ); -
/** * Ask for something before a download (for example an email, through a forms * or marketing module). Return a WP_Error to stop the download with its * message, or null to allow it. */ apply_filters( 'qcld_wpbot_writer/download_gate', null, $post, $kind ); -
/** * Add data for the edit-screen tools (WooCommerce adds product details). */ apply_filters( 'qcld_wpbot_writer/editor_data', $data, $post ); -
/** * Post types where AI Writer appears on the edit screen. */ apply_filters( 'qcld_wpbot_writer/editor_enabled', true, $screen->post_type ); -
/** * URL the feed finder actually requests. */ apply_filters( 'qcld_wpbot_writer/feed_finder_url', $url ); -
/** * A check this file does not know (the AI Writer Pro module adds the checks of * its formats): '' when it passes, otherwise what to fix. */ apply_filters( 'qcld_wpbot_writer/format_check', '', $check, $blocks, $headings, $title, $evidence ); -
/** * The downloads a post offers. */ apply_filters( 'qcld_wpbot_writer/format_downloads', $kinds, $post ); -
/** * Format suggestion rules (see Formats::rules()). */ apply_filters( 'qcld_wpbot_writer/format_rules', $rules ); -
/** * The structured data printed for a piece written in a format (null for none). */ apply_filters( 'qcld_wpbot_writer/format_schema', $data, $post, $format['schema'] ); -
/** * Sources the "Real data" step offers for a format. WPBot Pro adds web * research, Who ranks, Interview me and research from activity here. Each * source: id, label, help, available, reason, ai, ticked, pro. Facts come from * the qcld_wpbot_writer/gather_source filter. */ apply_filters( 'qcld_wpbot_writer/format_sources', $sources, $format, $brief ); -
/** * The suggested format for a topic (null for none). */ apply_filters( 'qcld_wpbot_writer/format_suggestion', $found, trim( $topic ), (string) $intent ); -
/** * Article formats (CR-16). */ apply_filters( 'qcld_wpbot_writer/formats', $formats ); -
/** * Facts from a source another module added (WPBot Pro). */ apply_filters( 'qcld_wpbot_writer/gather_source', null, $id, $brief ); -
/** * Whether a chatbot is installed (chatbot-only texts and sources show only * then). */ apply_filters( 'qcld_wpbot_writer/has_chatbot', $has ); -
/** * Headline lab variations per technique. */ apply_filters( 'qcld_wpbot_writer/headline_lab_per', 2 ); -
/** * Topic Finder sources. Add id => array( label, description, callback, * status_callback, free, questions, refresh, coverage ). */ apply_filters( 'qcld_wpbot_writer/idea_sources', $sources ); -
/** * Default for the most pages and web addresses read in one import, while the * owner has not set a number (Settings → Writing). */ apply_filters( 'qcld_wpbot_writer/import_max_pages', 5 ); -
/** * File types that can be uploaded for an import. */ apply_filters( 'qcld_wpbot_writer/import_types', array( 'docx', 'txt', 'md', 'csv', 'pdf' ) ); -
/** * Improve tasks from other modules (SEO & AI Search on-page fixes and * opportunities), listed next to decay alerts. */ apply_filters( 'qcld_wpbot_writer/improve_tasks', array() ); -
/** * Add AI Writer step handlers: kind => callable( array $step, array $job ). */ apply_filters( 'qcld_wpbot_writer/job_steps', $own ); -
/** * One finished piece in the Library (extensions add fields). */ apply_filters( 'qcld_wpbot_writer/library_piece', $piece, $post ); -
/** * The finished-pieces query (extensions add filters, for example the review * status). */ apply_filters( 'qcld_wpbot_writer/library_query', $query, $extra ); -
/** * Fires once AI Writer has booted. Hosts register their adapter here; the Pro * module boots on it (priority 20). */ do_action( 'qcld_wpbot_writer/loaded' ); -
/** * Write meta to the active SEO plugin, or AI Writer's own meta when none is * active (Seo\Seo_Adapter hooks here). */ do_action( 'qcld_wpbot_writer/meta_ready', $post_id, $meta ); -
/** * The AI Writer admin page slug. */ apply_filters( 'qcld_wpbot_writer/page_slug', '' !== $slug ? $slug : Admin\Admin_Controller::SLUG ); -
/** * Which host leads when several bundle the module. */ apply_filters( 'qcld_wpbot_writer/primary_host', $default, $ids ); -
/** * Change the words treated as product claims. */ apply_filters( 'qcld_wpbot_writer/product_claim_words', $words ); -
/** * Add or change the facts AI Writer may use about a product. */ apply_filters( 'qcld_wpbot_writer/product_facts', $facts, $product ); -
/** * Add or change writing rules (Pro: deep humanize). */ apply_filters( 'qcld_wpbot_writer/prompt_rules', $rules ); -
/** * Add or change Quick write templates. Social registers networks here (or * through qcld_wpbot_writer/channels). */ apply_filters( 'qcld_wpbot_writer/quick_templates', $templates ); -
/** * The voice of a Quick write piece (Pro: a channel variant). */ apply_filters( 'qcld_wpbot_writer/quick_voice', Voices::site_voice(), $template_id, $fields ); -
/** * Kinds of text that can be regenerated: id => [ label, tokens in, tokens out * ]. */ apply_filters( 'qcld_wpbot_writer/regenerate_kinds', $kinds ); -
/** * Regenerate options (Pro adds voice). */ apply_filters( 'qcld_wpbot_writer/regenerate_options', $out, $raw ); -
/** * Voices the owner can choose when regenerating (empty: the option is not * shown). */ apply_filters( 'qcld_wpbot_writer/regenerate_voices', array() ); -
/** * Register features. */ do_action( 'qcld_wpbot_writer/register_features', $this->features ); -
/** * The table of a research source another module added (WPBot Pro). Rows must * already be anonymised (no names, emails or order numbers). */ apply_filters( 'qcld_wpbot_writer/research_dataset', null, $id ); -
/** * Smallest group original research shows; smaller groups are hidden. */ apply_filters( 'qcld_wpbot_writer/research_min_group', (int) Settings::get( 'research_min_group' ) ); -
/** * Research sources built from activity (WPBot Pro: chats, orders and reviews, * Search Console). Each: id, label, help, available, reason. Their tables come * from the qcld_wpbot_writer/research_dataset filter. */ apply_filters( 'qcld_wpbot_writer/research_sources', array() ); -
/** * Add CREATE TABLE statements (dbDelta format) to AI Writer's schema run. */ apply_filters( 'qcld_wpbot_writer/schema_tables', $tables ); -
/** * Monthly search volumes (normalised search => number). */ apply_filters( 'qcld_wpbot_writer/search_volumes', $volumes, $queries ); -
/** * Seasonal events for a year and country. */ apply_filters( 'qcld_wpbot_writer/seasonal_events', $out, $year, $country ); -
/** * Change the text a source post gives the writer (WooCommerce adds product * facts). */ apply_filters( 'qcld_wpbot_writer/source_text', $text, $post ); -
/** * Days after which a statistics roundup or listicle is flagged in Improve. */ apply_filters( 'qcld_wpbot_writer/stale_figures_days', 365 ); -
/** * Sections after stitching (Pro: deep humanize rewrites). */ apply_filters( 'qcld_wpbot_writer/stitched_sections', $sections, $job_id ); -
/** * An AI Writer update went live (Site Insight and others may record it). */ do_action( 'qcld_wpbot_writer/update_published', (int) $original->ID ); -
/** * UTM parameters on tracked links. */ apply_filters( 'qcld_wpbot_writer/utm_args', $utm, $url, $args ); -
/** * Keep extra profile fields (Pro: per-voice style guide, channel variants). * Filters must sanitise what they add. */ apply_filters( 'qcld_wpbot_writer/voice_profile', $clean, $profile ); -
/** * Filter the logged-out values of visitor fields (object name => key => * value). */ apply_filters( 'wpbot_asset_cache_anonymous_data', $host->get_anonymous_visitor_data() ); -
/** * Fires after the WPBot asset cache was cleared. */ do_action( 'wpbot_asset_cache_cleared', $deleted ); -
/** * Filter the visitor IP address used for the rate limits of the report and * fresh-data endpoints (only its keyed hash is stored). */ apply_filters( 'wpbot_asset_cache_client_ip', $ip ); -
/** * Move the cache folder. */ apply_filters( 'wpbot_asset_cache_dir', $base, $this->package ); -
/** * Filter the fresh, per-visitor values for cached pages (object name => key => * value). The Pro module adds the add-ons' tokens here. */ apply_filters( 'wpbot_asset_cache_fresh_data', $host->get_fresh_data() ); -
/** * Allow a handle that is not in the list, by rule (for example handles an * add-on builds at run time). The file must still sit inside the host plugin * folder to be processed. */ apply_filters( 'wpbot_asset_cache_handle_allowed', false, (string) $handle, $type, (string) $path ); -
/** * Add or remove handles the cache may process. Only files inside the host * plugin's folder are ever processed, whatever is added here. */ apply_filters( 'wpbot_asset_cache_handles', $handles ); -
/** * Filter the knowledge-base article linked from the help panel. */ apply_filters( 'wpbot_asset_cache_kb_url', 'https://wpbot.pro/docs/' ); -
/** * Adjust a minified file before it is written. */ apply_filters( 'wpbot_asset_cache_minified', $output, $handle, $type ); -
/** * Leave one file untouched. */ apply_filters( 'wpbot_asset_cache_skip', $skip, $handle, $type ); -
/** * Filters the capture sources (key => label). Add-ons that hook a form plugin * add theirs here. */ apply_filters( 'wpbot_crm/capture_sources', $sources ); -
/** * Filters whether each registered source's plugin is active (key => bool). */ apply_filters( 'wpbot_crm/capture_sources_active', $active ); -
/** * Fires when a pending contact confirms their subscription. */ do_action( 'wpbot_crm/contact_confirmed', $updated ); -
/** * Fires after a batch of contacts was bulk-imported (per-contact hooks are not * fired). */ do_action( 'wpbot_crm/contacts_imported', $ids, $this->opts['source'] ); -
/** * Filters the REST controller classes registered on rest_api_init. */ apply_filters( 'wpbot_crm/controllers', $controllers ); -
/** * Fires on the first open of a message. */ do_action( 'wpbot_crm/email_opened', $messages->find( $message_id ), $contact ); -
/** * Fires on every tracked click. */ do_action( 'wpbot_crm/link_clicked', $messages->find( $message_id ), $contact, $url ); -
/** * Fires after a CRM email was handed to wp_mail successfully. */ do_action( 'wpbot_crm/message_sent', $messages->find( $message_id ) ); -
/** * Filters the system prompt used by the AI email writer. */ apply_filters( 'wpbot_crm/prompts/email_system', implode( "\n\n", $rules ), $style, $layout_mode ); -
/** * Filters the runtime service classes initialised on init. */ apply_filters( 'wpbot_crm/services', $services ); -
/** * Filters the CRM settings defaults. Keys added here are also accepted by * save(). */ apply_filters( 'wpbot_crm/settings_defaults', $defaults ); -
/** * Whether Site Insight shows the WPBot Pro previews. */ apply_filters( 'wpbot_insights_show_pro_preview', $show ); -
do_action( 'rate_limit_checker' ); -
do_action( 'qcld_openai_user_rate_cal', 1 ); -
apply_filters( 'plugin_install_action_links', $action_links, $plugin ); -
apply_filters( 'the_content', $html ); -
do_action( 'qcld_wpbot_core/keyword_map_changed', $post_id, '' ); -
do_action( 'qcld_wpbot_core/topic_map_changed', (int) $wpdb->insert_id ); -
apply_filters( 'qcld_wpbot_social/brands', array() ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'litespeed_purge_all' ); -
do_action( 'ml_render_lan_dropdown' ); -
apply_filters( 'qcld_wpbot_ai_keyword', $keyword ); -
do_action( 'qcld_wpbot_chat/provider_settings_fields', 'deepseek' ); -
apply_filters( 'qcld_wpbot_core/keyword_prices', array( 'volumes' => 0.09, 'ideas' => 0.09, 'domain_keywords' => 0.011, 'backlinks' => 0.022, 'serp' => 0.002, ), $this->id() ); -
do_action( 'qcwpbot_chatbot_lead_captured', array( 'name' => $name, 'email' => $email, 'phone' => $phone, 'url' => $url, 'user_agent' => $user_agent, ) ); -
apply_filters( 'robots_txt', $text, $public ); -
do_action( 'wpbot_table_new_record', $table_id, $table, $clean, $new_id ); -
do_action( 'wpbot_table_updated_cell', $table_id, $table, $row_id, $col_slug, $old_val, $new_val ); -
do_action( 'wpbot_table_updated_record', $table_id, $table, $clean, $row_id, $old_record ); -
do_action( 'wpbot_voice_record_wrapper' ); -
apply_filters( 'wpcommerce_cart_item_price', WC()->cart->get_product_price($cart_item), $values, $item ); -
apply_filters( 'wpcommerce_cart_item_product', $values['data'], $values, $item ); -
do_action( 'wpcommerce_thankyou', $order_get_id ); -
apply_filters( 'wpcommerce_thankyou_order_received_text', esc_html__('Thank you. Your order has been received.', 'chatbot'), $order ); -
apply_filters( 'wpml_current_language', NULL ); -
apply_filters( 'aws_special_chars', $chars ); -
do_action( 'do_robotstxt' ); -
do_action( 'litespeed_purge_url', $url ); -
do_action( 'qcld_admin_theme_switch' ); -
apply_filters( 'qcld_ai_studio/available', false ); -
apply_filters( 'qcld_ai_studio/image_options', array() ); -
do_action( 'qcld_str_add_category' ); -
do_action( 'qcld_str_edit_category' ); -
do_action( 'qcld_str_import' ); -
do_action( 'qcld_str_pro_stredit' ); -
apply_filters( "qcld_wpbot_ai_seo_{$module_id}_has_pro", qcld_wpbot_ai_seo_has_pro() ); -
apply_filters( 'qcld_wpbot_ai_seo_ai_usage_retention_days', self::RETENTION_DAYS ); -
apply_filters( 'qcld_wpbot_ai_seo_allow_private_ai_base_url', false, $url ); -
apply_filters( 'qcld_wpbot_ai_seo_article_continuation_rounds', 3 ); -
do_action( 'qcld_wpbot_ai_seo_create_tables', $charset_collate ); -
apply_filters( 'qcld_wpbot_ai_seo_has_pro', false ); -
apply_filters( 'qcld_wpbot_ai_seo_log_max_rows', 2000 ); -
apply_filters( 'qcld_wpbot_ai_seo_openai_reasoning_effort', 'low', $model ); -
apply_filters( 'qcld_wpbot_ai_seo_pro_url', 'https://www.wpbot.pro/pricing/' ); -
do_action( 'qcld_wpbot_ai_seo_register_modules', $this ); -
apply_filters( 'qcld_wpbot_ai_seo_use_wpbot_ai_settings', true ); -
apply_filters( 'qcld_wpbot_channel_secret_options', array( 'wpfb_app_secret', 'wpfb_user_access_token', 'wpfb_page_access_token', 'wpfb_verify_token', 'wpig_page_access_token', 'wpig_verify_token', 'slack_webhook_url', 'slack_secret_key', 'slack_auth_token', 'teams_app_password', 'tg_access_token', 'wa_auth_token', 'wa_meta_access_token', ) ); -
apply_filters( 'qcld_wpbot_chat/answer_scope_contact', '' !== $contact ? self::cut( wp_strip_all_tags( $contact ), 300 ) : $business['contact'] ); -
do_action( 'qcld_wpbot_chat/answer_scope_setting' ); -
apply_filters( 'qcld_wpbot_chat/search_terms', $base, $keyword ); -
apply_filters( 'qcld_wpbot_chat/train_capability', Permission_Sections::cap( 'view' ) ); -
apply_filters( 'qcld_wpbot_core/competitor_context', array() ); -
apply_filters( 'qcld_wpbot_core/google_scopes', array( self::SCOPE ) ); -
apply_filters( 'qcld_wpbot_core/meta_permissions', array() ); -
apply_filters( 'qcld_wpbot_core/quota_limits', $limits ); -
apply_filters( 'qcld_wpbot_core/social_apps', array( 'meta' => 'Meta (Facebook and Instagram)', 'threads' => 'Threads', ) ); -
apply_filters( 'qcld_wpbot_core/social_auth_providers', array( new Own_App_Auth() ) ); -
apply_filters( 'qcld_wpbot_core/social_oauth_endpoints', array( 'meta' => array( 'authorize' => 'https://www.facebook.com/' . Meta::VERSION . '/dialog/oauth', 'token' => Meta::HOST . '/' . Meta::VERSION . '/oauth/access_token', 'separator' => ',', 'pkce' => false, ), 'threads' => array( 'authorize' => 'https://threads.net/oauth/authorize', 'token' => Threads::HOST . '/oauth/access_token', 'separator' => ',', 'pkce' => false, ), ) ); -
apply_filters( 'qcld_wpbot_embedding_fallback_providers', apply_filters( 'qcld_wpbot_grok_embedding_providers', array( 'openai' => 'open_ai_api_key', 'gemini' => 'qcld_gemini_api_key', 'mistral' => 'qcld_mistral_api_key', 'openrouter' => 'qcld_openrouter_api_key' ) ), $chat ); -
apply_filters( 'qcld_wpbot_grok_embedding_providers', array( 'openai' => 'open_ai_api_key', 'gemini' => 'qcld_gemini_api_key', 'mistral' => 'qcld_mistral_api_key', 'openrouter' => 'qcld_openrouter_api_key' ) ); -
apply_filters( 'qcld_wpbot_grok_model', $model ); -
apply_filters( 'qcld_wpbot_sale_banner_enabled', false ); -
apply_filters( 'qcld_wpbot_seo/ai_crawlers', $bots ); -
apply_filters( 'qcld_wpbot_seo/business_types', $types ); -
apply_filters( 'qcld_wpbot_seo/ctr_curve', $points ); -
apply_filters( 'qcld_wpbot_seo/llms_serve', false, $path ); -
apply_filters( 'qcld_wpbot_seo/map_post_types', array( 'post', 'page', 'product' ) ); -
apply_filters( 'qcld_wpbot_seo/redirects_handled', $handled ); -
apply_filters( 'qcld_wpbot_seo/schema_rules', $rules ); -
apply_filters( 'qcld_wpbot_seo/schema_tables', self::core_tables() ); -
do_action( 'qcld_wpbot_social/accounts_actions' ); -
do_action( 'qcld_wpbot_social/add_network_cards' ); -
apply_filters( 'qcld_wpbot_social/admin_views', array() ); -
do_action( 'qcld_wpbot_social/compose_buttons' ); -
do_action( 'qcld_wpbot_social/compose_source' ); -
do_action( 'qcld_wpbot_social/compose_tools' ); -
do_action( 'qcld_wpbot_social/compose_when' ); -
do_action( 'qcld_wpbot_social/create_tabs', 'write' ); -
do_action( 'qcld_wpbot_social/google_card', 'business' ); -
do_action( "qcld_wpbot_social/settings_tab_{$qcsoc_tab}" ); -
apply_filters( 'qcld_wpbot_social/settings_tabs', $qcsoc_tabs ); -
apply_filters( 'qcld_wpbot_writer/seo_plugin', $found ); -
apply_filters( 'qcld_wpbot_writer/topics_combined', null, $lists, $sources ); -
do_action( 'qcld_wpwc_product_details_woocommerce' ); -
apply_filters( 'the_excerpt', $product->post->post_excerpt ); -
apply_filters( 'wp_chatbot_index_meta', $index_meta ); -
apply_filters( 'wp_chatbot_index_posts_per_page', 30 ); -
apply_filters( 'wp_chatbot_special_chars', $chars ); -
apply_filters( 'wpbot_automator_allow_internal_requests', false, $url, $this->id ); -
apply_filters( 'wpbot_automator_log_retention_days', 30 ); -
apply_filters( 'wpbot_automator_run_async', $async, $full_trigger_id ); -
do_action( 'wpbot_chat_session_saved_automator', array( 'session_id' => $session_id, 'name' => $user->name, 'email' => $user->email, 'phone' => $user->phone, 'conversation' => $clean_conversation, 'source_url' => '', 'user_agent' => $conv ? $conv->environment_info : '', ) ); -
do_action( 'wpbot_crm/automation_completed', (int) $automation['id'], (int) $run['contact_id'] ); -
do_action( 'wpbot_crm/automation_enrolled', (int) $automation['id'], (int) $contact_id, $run_id ); -
do_action( 'wpbot_crm/contact_created', $this->contacts->find( $id ) ); -
do_action( 'wpbot_crm/contact_status_changed', $updated, $old, $new ); -
do_action( 'wpbot_crm/contact_updated', $this->contacts->find( $id ), $old ); -
do_action( 'wpbot_crm/group_removed', (int) $contact_id, $group ); -
apply_filters( 'wpbot_crm/public_sources', array( 'chatbot', 'shortcode', 'subscribe', 'form', 'cf7', 'wpforms', 'gravity', 'conversational' ) ); -
do_action( 'wpbot_crm/send_confirmation', $contact ); -
apply_filters( "wpbot_form_text_{esc_attr($this->plugin_name)}", $form ); -
do_action( 'wpbot_table_deleted_record', $table_id, $table, $row_id, $old_record ); -
apply_filters( 'wpbot_table_shortcode_authorized', $authorized, $table_id, $post ); -
do_action( 'wpbot_table_trigger_button', $table_id, $table, $row_id, $row_data ); -
do_action( 'wpbot_voice_icon' ); -
do_action( "wpcommerce_thankyou_{$order->get_payment_method()}", $order->get_id() ); -
apply_filters( 'wpcommerce_variation_option_name', $value ); -
do_action( 'wpfc_clear_all_cache', true ); -
apply_filters( 'wpml_post_language_details', null, $post_id );
Generated from WPBot'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: