AISA 2.0.9 has 6 actions and 89 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 AISA fires an action
add_action( 'aisa/readability/panel_after_checks', function( $ID ) {
// Your code runs here.
}, 10, 1 );
// Change a value AISA is about to use
add_filter( 'aisa_sitemap_index_url', function( $url, $plugin ) {
// 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
-
/** * Permette di forzare la sitemap indice pubblicata (setup atipici, sitemap * esterne). */ apply_filters( 'aisa_sitemap_index_url', $url, $plugin ); -
/** * Registro delle attività , dopo il caricamento del JSON. */ apply_filters( 'aisa_activity_registry', $items ); -
/** * Percorso del registro delle attività . */ apply_filters( 'aisa_activity_registry_file', $path ); -
/** * Profili social dell'autore: i temi e i plugin "author box" li espongono in * campi diversi, qui si lascia il gancio invece di indovinare una meta key. */ apply_filters( 'aisa_author_sameas', $same, $uid ); -
/** * Filtro `aisa_import_sources`: mappe sorgente → AISA per ogni importer. Lo * usa la sonda del preflight per lavorare su option di prova invece che su * quelle vere del sito. */ apply_filters( 'aisa_import_sources', $sources ); -
/** * Permette a un sito di restringere (o estendere consapevolmente) l'elenco. */ apply_filters( 'aisa_mcp_public_options', $keys ); -
/** * Sottotipo WebPage finale. */ apply_filters( 'aisa_page_kind', $kind, $post_id ); -
/** * Tetto di interrogazioni per singola richiesta di sitemap. */ apply_filters( 'aisa_sitemap_lastmod_terms_max', 500 ); -
/** * Parole che fanno riconoscere un sito di software. */ apply_filters( 'aisa_software_hints', self::SOFTWARE_HINTS ); -
/** * Slug della pagina Q&A per lingua. */ apply_filters( 'aisa/faq_slugs', $map, $lang ); -
/** * La pagina è una "pagina servizio" per la regola del territorio? */ apply_filters( 'aisa/is_service_page', $yes, $post_id ); -
/** * Parole che squalificano un pezzo di testo come toponimo. */ apply_filters( 'aisa/place_stopwords', $stop ); -
/** * Varianti di un toponimo (nomi tradotti/alternativi). */ apply_filters( 'aisa/place_variants', $out, $name ); -
/** * Punto d'aggancio sotto la lista dei controlli (fasi successive / companion). */ do_action( 'aisa/readability/panel_after_checks', $post->ID ); -
/** * Filtra i dati di leggibilità prima della scrittura (fasi Premium, * companion). Le chiavi sconosciute vengono comunque scartate da san_data(): * nessun testo nei meta. */ apply_filters( 'aisa/readability/saved', $data, $post_id ); -
/** * 2.0.2 (A1): punto d'aggancio subito dopo la card dell'entità . Il componente * Premium ci appende la sezione "Corrections to the SEO plugin output"; senza * companion non stampa niente e la pagina resta identica. */ do_action( 'aisa/schema_template/after_entity_card' ); -
/** * Ultimo aggancio prima che lo schema, llms.txt e l'audit usino il profilo. */ apply_filters( 'aisa/schema/entity', $profile ); -
/** * Fatti dell'entità prima dell'innesto nel grafo del plugin SEO. */ apply_filters( 'aisa/schema/entity_facts', $f ); -
/** * Grafo finale, prima della stampa. */ apply_filters( 'aisa/schema/graph', $out, (int) $ctx['post_id'] ); -
/** * Modalità dello Schema Graph. */ apply_filters( 'aisa/schema/mode', $mode ); -
/** * AISA completa le pagine con i nodi che SEOPress free non emette? */ apply_filters( 'aisa/schema/seopress_fill', self::fill_decision( 'merge', 'seopress', $pro ) ); -
/** * Parole che non possono chiudere un title/description, per lingua. */ apply_filters( 'aisa/seo_dangling_words', $sets ); -
/** * Rigenerazione mirata di un title/description non compiuto, troppo corto o * senza la frase chiave (una sola per campo e contenuto). Default: sì, tranne * in modalità crediti Cloud. */ apply_filters( 'aisa/seo_finish_retry', ! ( class_exists( 'Aisa_Cloud' ) && Aisa_Cloud::active() ), $field, $pid ); -
/** * Guardia del territorio attiva? (spegnibile su siti con esigenze particolari) */ apply_filters( 'aisa/territory_guard', true ); -
/** * AISA emette il VideoObject del video di questa pagina? */ apply_filters( 'aisa/video/emit_schema', $ok, $post_id ); -
do_action( 'wpml_switch_language', $tlang ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'the_content', $body ); -
apply_filters( 'wpml_active_languages', null, [ 'skip_missing' => 0 ] ); -
apply_filters( 'aisa_breadcrumb_items', [ [ 'label' => $home['label'], 'url' => '' ] ] ); -
apply_filters( 'aisa_openai_vision_detail', 'low' ); -
apply_filters( 'aisa_qa_emit_schema', true, $post_id ); -
apply_filters( 'aisa/territory_min_variants', 2, $total ); -
do_action( 'litespeed_purge_url', $u ); -
apply_filters( 'wpml_default_language', '' ); -
apply_filters( 'wpml_element_trid', null, $first, $type ); -
apply_filters( 'wpml_post_language_details', null, $post_id ); -
do_action( 'wpml_set_element_language_details', [ 'element_id' => $pid, 'element_type' => 'post_' . get_post_type( $pid ), 'trid' => $trid, 'language_code' => $lang, ] ); -
apply_filters( 'aisa_404_log_noise', $noise, $path ); -
apply_filters( 'aisa_abilities_enabled', $on ); -
apply_filters( 'aisa_abilities_rate_limit', $max, $bucket ); -
apply_filters( 'aisa_ai_context_index_include', $include, $id ); -
apply_filters( 'aisa_ai_translated_locales', [ 'de_DE', 'fr_FR', 'es_ES', 'pt_BR', 'pt_PT', 'nl_NL', 'ja', 'ko_KR', 'ar', 'zh_CN', 'ru_RU' ] ); -
apply_filters( 'aisa_breadcrumb_home_label', __( 'Home', 'aisa-ai-seo-geo-assistant' ) ); -
apply_filters( 'aisa_builder_alt_divi', true ); -
apply_filters( 'aisa_catalog_url', $url ); -
apply_filters( 'aisa_cloud_offer_enabled', false ); -
apply_filters( 'aisa_credit_low_threshold', 25 ); -
apply_filters( 'aisa_credits_per_content', 1 ); -
apply_filters( 'aisa_deepseek_timeout', 90 ); -
apply_filters( 'aisa_dnt_block_lookalikes', false ); -
apply_filters( 'aisa_dnt_enforce', true ); -
apply_filters( 'aisa_dnt_woo_generic', [ 'set', 'kit', 'pack', 'new', 'sale', 'promo', 'bundle', 'combo', 'default', 'sample', 'test', 'demo' ] ); -
apply_filters( 'aisa_doctor_summary_budget', self::SUMMARY_BUDGET ); -
apply_filters( 'aisa_feature_allowed', aisa_is_unlocked(), $feature ); -
apply_filters( 'aisa_full_backup_memory_need', $need, [ 'posts' => $posts, 'images' => $images, 'terms' => $terms ] ); -
apply_filters( 'aisa_full_backup_raise_memory', true ); -
apply_filters( 'aisa_geo_brand_terms', $terms ); -
apply_filters( 'aisa_geo_generic_terms', self::GENERIC_TERMS ); -
apply_filters( 'aisa_import_pre_ids', null, $source, $what ); -
apply_filters( 'aisa_is_cloud', get_option( 'aisa_cloud', '0' ) === '1' ); -
apply_filters( 'aisa_is_dev_host', $dev, $host ); -
apply_filters( 'aisa_is_optimized', aisa_is_premium() || aisa_is_cloud() ); -
apply_filters( 'aisa_is_unlocked', aisa_is_premium() ); -
apply_filters( 'aisa_llms_auto_aci_block', true ); -
apply_filters( 'aisa_llmstxt_links_cap', 50 ); -
apply_filters( 'aisa_llmstxt_local_info', '' ); -
apply_filters( 'aisa_noindex_technical_types', true ); -
apply_filters( 'aisa_non_seo_post_types', $list ); -
apply_filters( 'aisa_optimize_prompt_result', '', $meta_prompt ); -
apply_filters( 'aisa_pending_exclude_patterns', [ 'responsive-lightbox' ] ); -
apply_filters( 'aisa_purchase_url', 'https://aiseoassistant.io/#piani' ); -
apply_filters( 'aisa_rotation_engine', $aisa_rotation ); -
apply_filters( 'aisa_sitemap_technical_types', $list ); -
apply_filters( 'aisa_template_plugin_vars', self::PLUGIN_VARS[ $plugin ] ?? [], $plugin ); -
apply_filters( 'aisa_url_host_unresolvable', gethostbyname( $host ) === $host, $host, $url ); -
apply_filters( 'aisa_used_images_statuses', [ 'publish', 'draft', 'pending', 'private', 'future' ] ); -
apply_filters( 'aisa_vision_upload_eligible', true, $att_id ); -
apply_filters( 'aisa_vision_upload_skip', false, $att_id ); -
apply_filters( "aisa/schema/node/{$type}", $node ); -
apply_filters( 'aisa/seo_limits', $base, $post_id, $plugin ); -
do_action( 'litespeed_control_set_nocache', 'AISA AI Context Index' ); -
apply_filters( 'robots_txt', $output, $public ); -
apply_filters( 'wp_sitemaps_post_types', $ct ); -
apply_filters( 'wp_sitemaps_posts_query_args', [ 'orderby' => 'ID', 'order' => 'ASC', 'post_type' => $type, 'posts_per_page' => $max, 'post_status' => [ 'publish' ], 'no_found_rows' => true, 'update_post_term_cache' => false, 'update_post_meta_cache' => false, 'ignore_sticky_posts' => true, ], $type ); -
apply_filters( 'wpml_element_language_code', null, [ 'element_id' => $term_id, 'element_type' => 'tax_' . $taxonomy, ] ); -
apply_filters( 'wpml_get_element_translations', null, $trid, $et ); -
apply_filters( 'wpml_permalink', (string) $entry['loc'], $code ); -
apply_filters( 'wpml_setting', 0, 'language_negotiation_type' ); -
apply_filters( 'wpml_translate_single_string', $name, 'WP', 'Blog Title', $lang );
Generated from AISA'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: