Digispot AI 1.0.4 has 28 actions and 60 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 Digispot AI fires an action
add_action( 'digispot_cache_purged', function( $arg1, $post_id, $ran ) {
// Your code runs here.
}, 10, 3 );
// Change a value Digispot AI is about to use
add_filter( 'digispot_access_summary', function( $summary, $refresh ) {
// Change $summary here.
return $summary;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires after Digispot cleared page caches. */ do_action( 'digispot_cache_purged', 'post', $post_id, $ran ); -
/** * Filters the GET /access payload. Feature modules add optional, display-only * keys (e.g. `keyword_research` → { can_spend, costs }); nothing here allows * a spend. */ apply_filters( 'digispot_access_summary', $summary, $refresh ); -
/** * Why an active add-on stayed dormant (it says so through this filter), or ''. */ apply_filters( 'digispot_addon_dormant_reason', '', Digispot_Addons::PRO_SLUG ); -
/** * An add-on registered against this plugin. */ do_action( 'digispot_addon_registered', $slug, self::$addons[ $slug ] ); -
/** * Digispot AI is fully loaded: modules are registered and booted. Add-ons that * need a booted module (not just its registration) start here. */ do_action( 'digispot_ai_loaded', $registry ); -
/** * Filters the page whose SEO title, description and robots apply to a * post-type archive. */ apply_filters( 'digispot_archive_page_id', max( 0, $page_id ), $post_type ); -
/** * Filters the audit packs manifest. */ apply_filters( 'digispot_audit_packs', $manifest ); -
/** * Filter the full adapter list. Order matters — for_post() returns the first * adapter whose owns_post() is true, so a new adapter belongs before 'core'. */ apply_filters( 'digispot_builder_adapters', $adapters ); -
/** * Supply page HTML for business detection (tests, headless sites). */ apply_filters( 'digispot_business_detect_html', null, $url ); -
/** * Filters the post meta keys whose change clears the page cache. */ apply_filters( 'digispot_cache_purge_meta_keys', self::OUTPUT_META_KEYS ); -
/** * Filters the cache vendors Digispot purges. Add your host's purge here: * array( 'id' => 'myhost', 'name' => 'My Host', 'detect' => callable, 'post' * => callable( $post_id, $url ), 'all' => callable ). */ apply_filters( 'digispot_cache_purge_vendors', $vendors ); -
/** * Filters whether the current user may change one post's SEO fields. */ apply_filters( 'digispot_can_edit_post_seo', $can, $post_id, get_current_user_id() ); -
/** * Opt-in full wipe. Default false = preserve user SEO content. */ apply_filters( 'digispot_clear_data_on_uninstall', false ); -
/** * Filter the builder meta keys saved with a content snapshot so undo can * restore a builder layout together with post_content. */ apply_filters( 'digispot_fix_log_builder_meta_keys', array( '_elementor_data', '_fl_builder_data', '_fl_builder_draft' ) ); -
/** * Most change rows kept (oldest beyond it are trimmed, listed imports * excepted). */ apply_filters( 'digispot_fix_log_max_rows', self::MAX_ROWS ); -
/** * Filter the post meta keys recorded in the SEO change history. */ apply_filters( 'digispot_fix_log_meta_keys', array( '_digispot_meta_title', '_digispot_meta_description', '_digispot_meta_robots', '_digispot_canonical_url', '_digispot_focus_keyword', '_digispot_secondary_keywords', '_digispot_og_title', '_digispot_og_description', '_digispot_og_image', '_digispot_twitter_title', '_digispot_twitter_description', '_digispot_twitter_image', '_digispot_social_cards_image', '_digispot_social_cards_source', '... ); -
/** * Filter the options recorded in the SEO change history. */ apply_filters( 'digispot_fix_log_options', $names ); -
/** * Days a change stays in the history (and can be undone). */ apply_filters( 'digispot_fix_log_retention_days', self::RETENTION ); -
/** * Fires after query-level Search Console rows were refreshed. */ do_action( 'digispot_gsc_query_daily_synced', $start_date, $end_date ); -
/** * Prints Digispot AI's head tags. Slots: 10 description, 20 canonical, 30 * social. */ do_action( 'digispot_head', $context ); -
/** * Filters whether Digispot AI prints SEO head tags (title, description, * canonical, robots, social cards). */ apply_filters( 'digispot_head_enabled', false === $other ); -
/** * Keywords tracked competitors rank for that an add-on stored (Digispot AI * Pro: each competitor's keyword gap). Null = no provider. */ apply_filters( 'digispot_keyword_rival_gaps', null ); -
/** * Rank-check facts per tracked keyword, from an add-on (Digispot AI Pro). */ apply_filters( 'digispot_keyword_signals', array(), $list ); -
/** * Auto-suggested keyword ids an add-on wants kept on "Remove all * auto-suggested" (tracked on Google, watched in AI, researched). */ apply_filters( 'digispot_keyword_starter_keep', array(), $ids ); -
/** * Swap or add a language provider (e.g. a TranslatePress adapter). */ apply_filters( 'digispot_language_provider', $found ); -
/** * Filters the ability namespaces treated as Digispot tools. */ apply_filters( 'digispot_mcp_ability_namespaces', array( 'digispot' ) ); -
/** * An MCP call was logged. */ do_action( 'digispot_mcp_activity_recorded', $row, $first ); -
/** * Fires when an import from another SEO plugin completes. */ do_action( 'digispot_migration_finished', $source, $progress['totals'] ?? array() ); -
/** * Filters the importers offered on the Migration screen. Each class must * extend Digispot_Importer_Base. */ apply_filters( 'digispot_migration_importers', $out ); -
/** * A module was switched on or off (Settings → Modules, setup, cards). */ do_action( 'digispot_module_toggled', $id, $enabled ); -
/** * Filters the SEO plugins Digispot AI stands down for. Keys are display names, * values whether that plugin is active. */ apply_filters( 'digispot_other_seo_plugins', array( 'Yoast SEO' => defined( 'WPSEO_VERSION' ) || class_exists( 'WPSEO_Options', false ), 'Rank Math' => defined( 'RANK_MATH_VERSION' ) || class_exists( 'RankMath', false ), 'All in One SEO' => defined( 'AIOSEO_VERSION' ) || class_exists( 'AIOSEO\\Plugin\\AIOSEO', false ), 'SEOPress' => defined( 'SEOPRESS_VERSION' ), 'The SEO Framework' => defined( 'THE_SEO_FRAMEWORK_VERSION' ) || function_ex... ); -
/** * Allow tests (and a future business-context service) to substitute the * resolved profile without writing Local SEO rows. */ apply_filters( 'digispot_page_analyzer_profile', $profile ); -
/** * Register additional page renderers. */ apply_filters( 'digispot_page_renderers', $renderers ); -
/** * Filter the taxonomies that get a primary term picker. */ apply_filters( 'digispot_primary_term_taxonomies', $map ); -
/** * Filters the Pro module catalog shown as locked modules. */ apply_filters( 'digispot_pro_catalog', $default ); -
/** * Filters whether Digispot AI prints JSON-LD schema on the front end. */ apply_filters( 'digispot_schema_enabled', $owns ); -
/** * Filters a built Product node. The WooCommerce integration adds reviews, * variants (ProductGroup), sale prices, shipping and return policy here. */ apply_filters( 'digispot_schema_product_node', $node, $post, $v ); -
/** * Filters the schema type registry. */ apply_filters( 'digispot_schema_types', $defs ); -
/** * Filters the WebPage type used for a post. */ apply_filters( 'digispot_schema_webpage_type', 'WebPage', $post ); -
/** * Filters the Search & AI step bar counts. An add-on that provides rank * tracking or AI answers sets `tracked` / `watched` / `ai_checked_at` and * clears the matching `*_locked`. */ apply_filters( 'digispot_search_ai_summary', $summary ); -
/** * Fires after a site audit run is stored. */ do_action( 'digispot_site_audit_complete', $stored, $previous ); -
/** * Filters the custom post types listed in Digispot sitemaps. */ apply_filters( 'digispot_sitemap_custom_post_types', $types ); -
/** * Filter whether a post/page should appear in Digispot sitemaps. */ apply_filters( 'digispot_sitemap_include_post', true, $post ); -
/** * Post types whose slug changes get an automatic 301 from the old URL. */ apply_filters( 'digispot_slug_redirect_post_types', array('post', 'page', 'product') ); -
/** * A tracked keyword was removed (add-ons drop what they keep for it). */ do_action( 'digispot_tracked_keyword_removed', $id ); -
/** * This filter is documented in wp-includes/l10n.php */ apply_filters( 'load_script_translation_file', $candidate, $handle, self::DOMAIN ); -
/** * This filter is documented in wp-includes/l10n.php */ apply_filters( 'load_script_translations', (string) file_get_contents( $path ), $path, $handle, self::DOMAIN ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'digispot_seo_supported_post_types', $types ); -
do_action( 'digispot_queue_analysis', $post_id ); -
do_action( 'digispot_local_seo_data_updated' ); -
do_action( 'digispot_ai_settings_updated', $changed_settings ); -
apply_filters( 'digispot_analytics_tag_force', false ); -
apply_filters( 'digispot_page_schema_post_types', $supported_types ); -
do_action( 'litespeed_purge_all' ); -
do_action( 'wphb_clear_page_cache', $id ); -
do_action( 'breeze_clear_all_cache' ); -
do_action( 'cache_enabler_clear_cache' ); -
do_action( 'cache_enabler_clear_complete_cache' ); -
do_action( 'cache_enabler_clear_page_cache_by_post', $id ); -
do_action( 'cache_enabler_clear_page_cache_by_url', $url ); -
apply_filters( 'digispot_audit_score_formula', 'packs' ); -
apply_filters( 'digispot_auto_video_schema', $on ); -
apply_filters( 'digispot_cache_purge_suspended', false ); -
apply_filters( 'digispot_cloud_keywords_spend_capability', 'manage_options' ); -
apply_filters( 'digispot_core_runs_ability_guard_hooks', version_compare( $version, '7.1-alpha', '>=' ) ); -
apply_filters( 'digispot_crawl_hot_max_rows', self::MAX_HOT_ROWS ); -
apply_filters( 'digispot_html_sitemap_limit', 500 ); -
apply_filters( 'digispot_live_score_debounce_ms', 800 ); -
apply_filters( 'digispot_live_score_enabled', true ); -
apply_filters( 'digispot_overview_do_next', array(), $public ); -
apply_filters( 'digispot_overview_summary_items', array(), $public ); -
do_action( 'digispot_register_modules', $registry ); -
do_action( 'digispot_register_seo_checkers', $this ); -
apply_filters( 'digispot_rendered_html', null, $this->post_id ); -
do_action( 'digispot_seo_analysis_complete', $post_id, $computed['scores'], $computed['results'] ); -
apply_filters( 'document_title', $title ); -
apply_filters( 'document_title_parts', $parts ); -
apply_filters( 'document_title_separator', '-' ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'litespeed_purge_post', $id ); -
do_action( 'litespeed_purge_url', $url ); -
apply_filters( 'post_thumbnail_url', $url ? $url : false, $source->post(), 'full' ); -
do_action( 'rt_nginx_helper_purge_all' ); -
do_action( 'wp_optimize_clear_cache' ); -
apply_filters( 'wp_sitemaps_enabled', true ); -
do_action( 'wphb_clear_cache' );
Generated from Digispot AI'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: