SEO Booster 7.5.4 has 4 actions and 28 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 SEO Booster fires an action
add_action( 'litespeed_purge_all', function() {
// Your code runs here.
}, 10, 1 );
// Change a value SEO Booster is about to use
add_filter( 'sb_ai_text_only_provider_ids', function( $ids ) {
// Change $ids here.
return $ids;
}, 10, 1 );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
-
/** * Filter text-only AI provider IDs for image metadata notices. */ apply_filters( 'sb_ai_text_only_provider_ids', $ids ); -
/** * Filter vision-capable AI provider IDs for image metadata. */ apply_filters( 'sb_ai_vision_capable_provider_ids', $ids ); -
/** * Post IDs hidden from SEO Possibilities and reports. */ apply_filters( 'sb_auto_excluded_post_ids', $ids ); -
/** * Filter the page reachability probe result (for tests and overrides). */ apply_filters( 'seo_booster_page_reachability_probe', null, $url ); -
/** * Filter AI referral source host => label map. */ apply_filters( 'seobooster_ai_referral_sources', $sources ); -
/** * Filters the HTTP timeout in seconds for SEO Booster AI requests. */ apply_filters( 'seobooster_ai_request_timeout', $default_timeout, $post_id, $variant ); -
/** * Filters condensed editor content for bulk meta AI prompts. */ apply_filters( 'seobooster_bulk_meta_condensed_content', $result, $post_id ); -
/** * Filter slug/title fragments that should not receive a focus keyword. */ apply_filters( 'seobooster_focus_keyword_skip_slugs', $defaults ); -
/** * Filter hard-blocked URL path prefixes for llms.txt directory rules. */ apply_filters( 'seobooster_tools_llms_blocked_path_prefixes', $prefixes ); -
/** * Filter post types excluded from llms.txt content selection. */ apply_filters( 'seobooster_tools_llms_excluded_post_types', $excluded ); -
/** * Filter processable attachment MIME types for the Tools image scanner. */ apply_filters( 'seobooster_tools_processable_mime_types', $types ); -
/** * Filter registered Tools page tabs. */ apply_filters( 'seobooster_tools_registry', $tools ); -
apply_filters( 'seobooster_allowlisted_image_host', false, $url ); -
apply_filters( 'seobooster_skip_redirect_link_check', false, $url ); -
apply_filters( 'seo_booster_cache_duration', self::$default_cache_duration ); -
apply_filters( 'seo_booster_ssl_verify', ! self::is_local_site() ); -
do_action( 'litespeed_purge_all' ); -
apply_filters( 'sb_ai_image_attachment_context', $context, $attachment_id ); -
apply_filters( 'seo_booster_cache_dir', WP_CONTENT_DIR . '/cache/seo-booster/' ); -
apply_filters( 'seobooster_ai_assistant_prompt', $prompt, $post_id, $question, $language ); -
apply_filters( 'seobooster_ai_bot_hits_max_rows', self::DEFAULT_MAX_HIT_ROWS ); -
apply_filters( 'seobooster_ai_prompt_template', $prompt, $post_id, $condensed_content, $language ); -
apply_filters( 'seobooster_ai_site_assistant_prompt', $prompt, $question, $language, $intent ); -
apply_filters( 'seobooster_autolink_max_keywords_per_page', self::MAX_AUTOLINK_KEYWORDS_PER_PAGE ); -
do_action( 'seobooster_autolinks_changed' ); -
apply_filters( 'seobooster_credits_ai_provider_available', true ); -
do_action( 'seobooster_fs_loaded' ); -
do_action( 'seobooster_gsc_schedule_all_pages' ); -
apply_filters( 'seobooster_question_words', $question_words ); -
apply_filters( 'seobooster_tools_llms_curation_weights', array( 'gsc' => 0.6, 'bots' => 0.4, ) ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_post_language_details', null, $post_id );
Generated from SEO Booster'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: