SEO Help 7.0.0 has 59 actions and 227 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when SEO Help fires an action
add_action( 'qcld_wpbot_core/experiment_switch', function( $exp, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value SEO Help is about to use
add_filter( 'qcld_wpbot_writer/image_endpoint', function( $url, $arg2 ) {
// 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.
All hooks
-
/** * This action is documented in the class docblock. */ do_action( 'qcld_wpbot_core/experiment_switch', $exp, self::control( $exp ) ); -
/** * This filter is documented in Image_Search::get_json(). */ apply_filters( 'qcld_wpbot_writer/image_endpoint', $url, 'download' ); -
/** * This filter is documented in wp-includes/functions.php */ apply_filters( 'robots_txt', $output, $public ); -
/** * 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'] ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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() ); -
/** * 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', 'seo-help' ), ), array( 'id' => 'recordings', 'label' => __( 'Recordings', 'seo-help' ), ), array( 'id' => 'heatmaps', 'label' => __( 'Heatmaps', 'seo-help' ), ), array( 'id' => 'settings', 'label' => __( 'Settings', 'seo-help' ), ), ) ); -
/** * 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() ); -
/** * Change the list of recognised AI crawlers. */ apply_filters( 'qcld_ai_traffic/bots', $all ); -
/** * Capability needed to see AI traffic and change its settings. */ apply_filters( 'qcld_ai_traffic/capability', self::config( 'capability' ) ); -
/** * Smallest earlier count for a post to be reported as falling. AI Writer * applies its own, higher threshold afterwards. */ apply_filters( 'qcld_ai_traffic/decay_min', 5, $metric ); -
/** * How many addresses of each period the decay source looks at. */ apply_filters( 'qcld_ai_traffic/decay_pages', 2000 ); -
/** * A step of AI Traffic failed. */ do_action( 'qcld_ai_traffic/error', 'cleanup', 'The daily clean-up could not trim the ' . $what . '. ' . (string) $wpdb->last_error ); -
/** * Change or veto a visit before it is saved. Return false to skip it. * 'verified' may be set to 1 or 0; null means it was not checked. */ apply_filters( 'qcld_ai_traffic/hit', $row, array( 'user_agent' => $user_agent, 'ip' => $ip, ) ); -
/** * Whether a visit that came from an AI assistant was made by a person. */ apply_filters( 'qcld_ai_traffic/is_browser', $browser, $user_agent ); -
/** * Fires when the module has started, so extensions can plug in. */ do_action( 'qcld_ai_traffic/loaded' ); -
/** * Longest period the dashboard may show, in days. */ apply_filters( 'qcld_ai_traffic/max_range_days', 30 ); -
/** * Fires below the overview, for extensions. */ do_action( 'qcld_ai_traffic/overview_after', $from, $to ); -
/** * Whether a page cache is active on the site. */ apply_filters( 'qcld_ai_traffic/page_cache_active', $cached ); -
/** * Prints the header of the plugin the page belongs to, above the page. The * module prints none of its own. */ do_action( 'qcld_ai_traffic/page_header' ); -
/** * Periods offered on the dashboard, in days. Those above the allowed maximum * are shown locked. */ apply_filters( 'qcld_ai_traffic/ranges', array( 7, 30, 90 ) ); -
/** * Fires after a visit is saved. */ do_action( 'qcld_ai_traffic/recorded', $row + array( 'verified' => null ) ); -
/** * Change the list of recognised AI assistants. */ apply_filters( 'qcld_ai_traffic/referrers', $all ); -
/** * Prints a tab added on the qcld_ai_traffic/tabs filter. */ do_action( 'qcld_ai_traffic/render_tab', $tab, $from, $to, $days ); -
/** * Days of visit log to keep. */ apply_filters( 'qcld_ai_traffic/retention_days', (int) Settings::get( 'retention' ) ); -
/** * Tabs of the page: key => label. An extension adds its own here and prints it * on the qcld_ai_traffic/render_tab action. */ apply_filters( 'qcld_ai_traffic/tabs', $tabs ); -
/** * Whether to ask at all. SEO Help Pro says no while it is active: it puts the * free plugin back, so the deactivation would not last and the answer would * report something that did not happen. */ apply_filters( 'qcld_seo_help/ask_at_deactivation', true ); -
/** * Days an error is kept after it was last seen. */ apply_filters( 'qcld_seo_help/error_log_days', self::DAYS ); -
/** * Most errors kept. */ apply_filters( 'qcld_seo_help/error_log_rows', self::ROWS ); -
/** * Folders whose errors the error log records. An add-on adds its own folder; a * text key is used as the name of the part. */ apply_filters( 'qcld_seo_help/error_paths', $list ); -
/** * Whether the Pro features are running on this site. */ apply_filters( 'qcld_seo_help/has_pro', false ); -
/** * Fires below SEO Help's header on each of its screens. */ do_action( 'qcld_seo_help/header_after', (string) $title ); -
/** * The plugin's name on the admin menu and in the page headers. SEO Help Pro * changes it to "SEO Help Pro". */ apply_filters( 'qcld_seo_help/name', 'SEO Help' ); -
/** * The button of the Pro previews. SEO Help Pro without an active licence * points it to its licence page. */ apply_filters( 'qcld_seo_help/pro_link', $link, $medium, $campaign ); -
/** * Rows of the site status box on the Help and Support pages. SEO Help Pro adds * its version and the state of the licence. */ apply_filters( 'qcld_seo_help/status', $rows ); -
/** * Where the Support page sends people. SEO Help Pro replaces the forum with * its ticket system while a licence is active. */ apply_filters( 'qcld_seo_help/support_contact', $contact ); -
/** * The address "Send to support" sends the report to. */ apply_filters( 'qcld_seo_help/support_email', self::EMAIL ); -
/** * More sections of the support report: title => text. SEO Help Pro adds its * version, the state of the licence and its modules. Everything is cleaned of * secrets afterwards. */ apply_filters( 'qcld_seo_help/support_report', array() ); -
/** * Whether SEO Help shows its Upgrade to Pro button, cards and email line. */ apply_filters( 'qcld_seo_help/upsells', Pro_Previews::show() ); -
/** * 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 ); -
/** * Use Google Business Profile (adds the business.manage permission to the * Google connection). */ apply_filters( 'qcld_wpbot_core/business_profile_enabled', false ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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() ); -
/** * 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' ); -
/** * 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', $ids[0], $ids ); -
/** * 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 ); -
/** * Change the detected SEO plugin. */ apply_filters( 'qcld_wpbot_core/seo_plugin', $found ); -
/** * 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 ); -
/** * 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 ); -
qcld_wpbot_seo/opportunities_rebuild_start
action Used by 2 plugins β Copy link Customise this hook/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Choose the primary host when several plugins bundle AI Writer. */ apply_filters( 'qcld_wpbot_writer/primary_host', $ids[0], $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 ); -
apply_filters( 'https_local_ssl_verify', false ); -
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_core/keyword_prices', array( 'volumes' => 0.09, 'ideas' => 0.09, 'domain_keywords' => 0.011, 'backlinks' => 0.022, 'serp' => 0.002, ), $this->id() ); -
do_action( 'do_robotstxt' ); -
do_action( 'litespeed_purge_url', $url ); -
apply_filters( 'qcld_ai_traffic/max_log_rows_per_day', 20000 ); -
apply_filters( 'qcld_wpbot_core/competitor_context', array() ); -
apply_filters( 'qcld_wpbot_core/google_scopes', array( self::SCOPE ) ); -
apply_filters( 'qcld_wpbot_core/quota_limits', $limits ); -
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() ); -
apply_filters( 'qcld_wpbot_writer/seo_plugin', $found ); -
apply_filters( 'qcld_wpbot_writer/topics_combined', null, $lists, $sources ); -
apply_filters( 'the_content', get_post_field( 'post_content', $item['our_post_id'] ) );
Generated from SEO Help'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: