SiteHale 0.8.3 has 0 actions and 32 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.
// Change a value SiteHale is about to use
add_filter( 'sitehale_llms_txt_enabled', function( $value ) {
// Change $value here.
return $value;
}, 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 whether SiteHale serves /llms.txt (default true). A site owner can * switch it off with one line: add_filter( 'sitehale_llms_txt_enabled', * '__return_false' ); */ apply_filters( 'sitehale_llms_txt_enabled', true ); -
/** * Filter whether SiteHale records inbound 404s at all. */ apply_filters( 'sitehale_404_log_enabled', true ); -
/** * Filter whether SiteHale submits URLs to IndexNow. */ apply_filters( 'sitehale_indexnow_enabled', $on ); -
/** * Filter whether one post is announced to IndexNow. */ apply_filters( 'sitehale_indexnow_submit_post', true, $post ); -
/** * Filter the generated llms.txt body before it is cached and served. */ apply_filters( 'sitehale_llms_txt_content', $body ); -
/** * Filter the finished graph — the extension seam. */ apply_filters( 'sitehale_schema_output', $graph ); -
/** * Filter the breadcrumb trail used for BreadcrumbList. */ apply_filters( 'sitehale_seo_breadcrumbs', self::default_trail() ); -
/** * Filter whether the SEO module stores and exposes metadata at all. */ apply_filters( 'sitehale_seo_enabled', $on ); -
/** * Filter the guard's verdict. */ apply_filters( 'sitehale_seo_guard', $state['state'], self::record() ); -
/** * Filter whether SiteHale sends `X-Robots-Tag: noindex, follow` on feeds. */ apply_filters( 'sitehale_seo_noindex_feeds', true ); -
/** * Filter the og:type for this request. */ apply_filters( 'sitehale_seo_og_type', $type, $c ); -
/** * Filter which post types carry SiteHale SEO metadata. */ apply_filters( 'sitehale_seo_post_types', array_values( $types ) ); -
/** * Filter one social profile URL. */ apply_filters( 'sitehale_seo_profile', $url, $key ); -
/** * Filter whether SiteHale renders SEO head tags on this site. */ apply_filters( 'sitehale_seo_render', $on ); -
/** * Filter the retired sitemap names redirected to core's index. */ apply_filters( 'sitehale_seo_retired_sitemaps', self::RETIRED ); -
/** * Filter the robots.txt rules SiteHale appends. */ apply_filters( 'sitehale_seo_robots_rules', $out ); -
/** * Filter the resolved context before the graph is assembled. */ apply_filters( 'sitehale_seo_schema_context', $ctx, $c ); -
/** * Filter the title separator. */ apply_filters( 'sitehale_seo_separator', $sep ); -
/** * Filter resolved tag values before substitution. */ apply_filters( 'sitehale_seo_tag_values', $values, $ctx ); -
/** * Filter which taxonomies carry SiteHale SEO metadata. */ apply_filters( 'sitehale_seo_taxonomies', array_values( $taxes ) ); -
/** * Filter one resolved template before its tags are substituted. */ apply_filters( 'sitehale_seo_template', $value, $slot, $subtype ); -
/** * Filter the site's Twitter/X handle. */ apply_filters( 'sitehale_seo_twitter_handle', $handle ); -
/** * Filter the verification meta tags. */ apply_filters( 'sitehale_seo_verification', $out ); -
apply_filters( 'sitehale_connect_pubkey', SITEHALE_CONNECT_PUBKEY ); -
apply_filters( 'sitehale_facts_url', SITEHALE_FACTS_URL ); -
apply_filters( 'sitehale_pair_url', SITEHALE_PAIR_URL ); -
apply_filters( 'sitehale_regression_report_url', SITEHALE_REGRESSION_URL ); -
apply_filters( 'sitehale_seo_author_sitemap', $keep ); -
apply_filters( 'sitehale_seo_brand_taxonomies', array( 'product_brand', 'pwb-brand', 'yith_product_brand', 'pa_brand' ) ); -
apply_filters( 'sitehale_seo_home_crumb', __( 'Home', 'sitehale' ) ); -
apply_filters( 'wp_sitemaps_enabled', true );
Generated from SiteHale'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: