Stedica SEO 3.35.4 has 6 actions and 53 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 Stedica SEO fires an action
add_action( 'stedica_seo_home_cards', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Stedica SEO is about to use
add_filter( 'stedica_seo_fallback_description', function( $desc, $post_id ) {
// Change $desc here.
return $desc;
}, 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
-
/** * Filter the description for a singular page. */ apply_filters( 'stedica_seo_fallback_description', $desc, $post_id ); -
/** * This filter is documented in render_tags(). */ apply_filters( 'stedica_seo_og_type', 'website', 0 ); -
/** * Filter the analytics configuration printed into the page. */ apply_filters( 'stedica_seo_analytics_config', $cfg ); -
/** * Filter whether analytics tags are output on this request. */ apply_filters( 'stedica_seo_analytics_enabled', true ); -
/** * Filter the GA4 events for this page. */ apply_filters( 'stedica_seo_analytics_events', $events ); -
/** * Filter the author Person node before it is printed. */ apply_filters( 'stedica_seo_author_schema', $node, $user_id ); -
/** * Filter the words ignored when focus keywords are compared for keyword * cannibalisation. */ apply_filters( 'stedica_seo_cannibal_stop_words', $words, $locale ); -
/** * Filter whether a noindexed page keeps its canonical link. */ apply_filters( 'stedica_seo_canonical_on_noindex', true, $post_id ); -
/** * Schema types a page carries that the audit cannot see in stored data. */ apply_filters( 'stedica_seo_detected_schema_types', $types_found, $post_id ); -
/** * Filter the links a post carries that are not in its stored content. */ apply_filters( 'stedica_seo_extra_links', [], (int) $post->ID, $post ); -
/** * Filter the health checks. */ apply_filters( 'stedica_seo_health_checks', $checks ); -
/** * v3.31.0 — A place for add-ons to put a dashboard card. Stedica SEO Premium * uses it for the Search Console performance chart. */ do_action( 'stedica_seo_home_cards' ); -
/** * Filter the hreflang alternates for this request. */ apply_filters( 'stedica_seo_hreflang_alternates', $found ); -
/** * Filter the per-request network budget, in seconds. */ apply_filters( 'stedica_seo_http_budget', $budget ); -
/** * Filter the finished /llms.txt document. */ apply_filters( 'stedica_seo_llms_txt', $out ); -
/** * Filter the MCP tools. Each entry: title, description, write (bool), schema * (JSON Schema properties), required, run (callable taking the arguments array * and returning an array or WP_Error). */ apply_filters( 'stedica_seo_mcp_tools', $tools ); -
/** * v3.31.0 — Above the tabs. Stedica SEO Premium shows the page's Search * Console numbers here. */ do_action( 'stedica_seo_meta_box_top', $post ); -
/** * Filter the time, in seconds, the orphan check may spend expanding shortcodes * to find the links they print. Shared by every post in the audit. 0 turns * shortcode expansion off; the `stedica_seo_extra_links` filter still applies. */ apply_filters( 'stedica_seo_orphan_shortcode_budget', 5.0 ); -
/** * Filter a post's SEO fields as Stedica reads them. */ apply_filters( 'stedica_seo_post_seo', $data, $post->ID, $plugin ); -
/** * Filter the recorded primary term ids for a post, best first. */ apply_filters( 'stedica_seo_primary_term_ids', $ids, $post_id, $taxonomy ); -
/** * Filter the enriched Product markup before WooCommerce prints it. */ apply_filters( 'stedica_seo_product_schema', $markup, $id ); -
/** * Filter the template served for a 410 or 451 rule. */ apply_filters( 'stedica_seo_redirect_error_template', $template, $code ); -
/** * v3.31.0 — Room for more redirect tools above the list. Stedica SEO Premium * adds CSV import here. */ do_action( 'stedica_seo_redirects_tools' ); -
/** * Filter whether the audit may fetch this page to check it. */ apply_filters( 'stedica_seo_render_check', true, $post_id ); -
/** * Filter the request the audit makes to check a page, to add the credentials * of a password-protected staging site, for example. */ apply_filters( 'stedica_seo_render_check_args', [ 'timeout' => $timeout, 'redirection' => 0, 'limit_response_size' => self::MAX_BYTES, 'user-agent' => 'StedicaSEO-Audit/' . STEDICA_SEO_VERSION . '; ' . home_url( '/' ), ], $url ); -
/** * Filter how many pages one audit may fetch to check them. */ apply_filters( 'stedica_seo_render_check_limit', self::DEFAULT_LIMIT ); -
/** * Supply a stored value for a routed URL. */ apply_filters( 'stedica_seo_route_read', '', $uid, $key ); -
/** * Persist an approved fix for a routed URL. */ apply_filters( 'stedica_seo_route_write', false, $uid, $key, $value ); -
/** * Declare URLs that Stedica SEO cannot discover from wp_posts. */ apply_filters( 'stedica_seo_routes', [] ); -
/** * Fires once a scan's cross-page passes are done and its rows are final, * before older scans are recycled. */ do_action( 'stedica_seo_scan_finalised', $scan_id ); -
/** * Filter whether a stored schema node's dates follow the post. */ apply_filters( 'stedica_seo_schema_sync_dates', true, $node, $post_id ); -
/** * Filter the JSON-LD variables — add your own, or change a value. Keys must * keep the {{name}} form. */ apply_filters( 'stedica_seo_schema_vars', $vals, $post_id ); -
/** * Filter the review prompt away entirely. */ apply_filters( 'stedica_seo_show_review_prompt', true ); -
/** * Filter the post IDs excluded from every sitemap. */ apply_filters( 'stedica_seo_sitemap_excluded_post_ids', $ids ); -
/** * Filter the languages the sitemap lists. */ apply_filters( 'stedica_seo_sitemap_languages', $out, self::mode() ); -
/** * Filter the post types listed in the XML sitemap. */ apply_filters( 'stedica_seo_sitemap_post_types', $types ); -
/** * Filter the child sitemaps this site publishes. */ apply_filters( 'stedica_seo_sitemap_sections', $sections ); -
/** * Filter the links the orphan check counts as printed on every page. */ apply_filters( 'stedica_seo_template_links', $hrefs ); -
/** * Filter the priority the analytics script is enqueued at. */ apply_filters( 'stedica_seo_tracking_priority', 1 ); -
/** * Filter the WebSite node. Return an empty array to print none. */ apply_filters( 'stedica_seo_website_schema', $schema ); -
apply_filters( 'stedica_seo_view_path', '', 'page-costs' ); -
apply_filters( 'stedica_seo_sslverify', true ); -
do_action( 'wpml_switch_language', 'all' ); -
apply_filters( 'stedica_seo_404_log_max_age_days', 90 ); -
apply_filters( 'stedica_seo_404_log_max_rows', 5000 ); -
apply_filters( 'stedica_seo_fill_empty_alt', true ); -
do_action( 'stedica_seo_fs_loaded' ); -
apply_filters( 'stedica_seo_orphan_donor_budget', 32 * 1024 * 1024 ); -
apply_filters( 'stedica_seo_scan_batch_budget', 20.0 ); -
apply_filters( 'stedica_seo_upgrade_url', $url ); -
apply_filters( 'the_content', $raw_content ); -
apply_filters( 'wp_robots', [] ); -
apply_filters( 'wpml_active_languages', null, [ 'skip_missing' => 0 ] ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'wpml_element_language_code', null, [ 'element_id' => $post_id, 'element_type' => 'post_page' ] ); -
apply_filters( 'wpml_is_translated_post_type', false, $type ); -
apply_filters( 'wpml_is_translated_taxonomy', false, $taxonomy ); -
apply_filters( 'wpml_object_id', $front, 'page', false, $lang );
Generated from Stedica SEO'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: