Visibility 3.2.5 has 5 actions and 30 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 Visibility fires an action
add_action( 'do_robotstxt', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Visibility is about to use
add_filter( 'native_aeo_pack_schema_graph', function( $graph, $arg2, $post ) {
// Change $graph here.
return $graph;
}, 10, 3 );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 JSON-LD nodes Visibility is about to print, before they are * wrapped in their `@context`. Same hook for every emitter, told apart by * `$context`: 'article' (singulars, this one), 'person' (author archives) and * 'identity' (Organization / WebSite). Add, drop or edit nodes; return an * empty array to print nothing. */ apply_filters( 'native_aeo_pack_schema_graph', $graph, 'article', $post ); -
/** * This filter is documented in wp-includes/functions.php (do_robots()). */ apply_filters( 'robots_txt', $output, $public ); -
/** * This action is documented in wp-includes/functions.php (do_robots()). */ do_action( 'do_robotstxt' ); -
/** * Filters the canonical URL of a listing: term, author, post type and date * archives, the blog and a front page that lists posts. */ apply_filters( 'native_aeo_pack_canonical_url', $url, $object ); -
/** * Filters whether an entry may be published on the AI surfaces (Markdown for * Agents, llms.txt, llms-full.txt and the descriptions derived from the * content). */ apply_filters( 'native_aeo_pack_content_is_public', $is_public, $post ); -
/** * Filters the per-post / per-term Meta title before it reaches `<title>`. */ apply_filters( 'native_aeo_pack_document_title', $custom ); -
/** * Filter whether Visibility forces a 200 on this sitemap request. */ apply_filters( 'native_aeo_pack_force_sitemap_200', true, $wp_query ); -
/** * Filters the business types offered for a local business identity. A name * goes in this list or in the organization one, not in both: the importer * tells which kind of type another plugin stores by the list its name is in. */ apply_filters( 'native_aeo_pack_identity_business_types', $types ); -
/** * Filters the business types that take a cuisine and a menu. */ apply_filters( 'native_aeo_pack_identity_food_types', $types ); -
/** * Filters the organization types offered for an organization identity. A name * goes in this list or in the business one, not in both: the importer tells * which kind of type another plugin stores by the list its name is in. */ apply_filters( 'native_aeo_pack_identity_organization_types', $types ); -
/** * Filter the maximum number of entries the Markdown blog archive lists. */ apply_filters( 'native_aeo_pack_markdown_blog_max_posts', 100 ); -
/** * Filter the meta description Visibility resolved for the current query, after * its whole fallback chain and clean-up. It is the single source for `<meta * name="description">`, og:description, the Twitter card, the Article * `description` node and the SERP preview, so a change here shows up in all of * them. */ apply_filters( 'native_aeo_pack_meta_description', self::clean( $description ) ); -
/** * Filter the image Visibility picked for a singular, after the whole fallback * chain (per-post override → featured → WooCommerce gallery → first * inline image → settings fallback). It feeds og:image, the Twitter card, * the Article `image` node and the social preview alike, so a change here is * consistent everywhere. */ apply_filters( 'native_aeo_pack_og_image', $image, $post ); -
/** * Fires after an ability changed the SEO values of an entry. */ do_action( 'native_aeo_pack_post_seo_updated', (int) $post_id ); -
/** * Filter the AI crawler user-agents Visibility lists as disallowed in * robots.txt. Sibling plugins read this to learn which crawlers are supposed * to be blocked without coupling to the settings storage. */ apply_filters( 'native_aeo_pack_robots_ai_agents', $agents ); -
/** * Filter whether this server is treated as .htaccess-capable. */ apply_filters( 'native_aeo_pack_robots_htaccess_supported', $supported ); -
/** * Filter the question/answer pairs extracted from the content before they * become a FAQPage node. Return an empty array to skip the node entirely * (useful when a theme uses `<details>` for something that is not a FAQ). */ apply_filters( 'native_aeo_pack_schema_faq_pairs', $pairs, $post ); -
/** * Filters the additional URLs listed in the sitemap. */ apply_filters( 'native_aeo_pack_sitemap_extra_url_list', $list, $page ); -
/** * Fires after an ability changed the SEO values of a term. */ do_action( 'native_aeo_pack_term_seo_updated', (int) $term->term_id, $term->taxonomy ); -
/** * Filter whether Visibility yields the BreadcrumbList to WooCommerce on this * request. Return false to emit Visibility's own trail on store pages too, for * instance on a theme that prints no WooCommerce breadcrumbs. */ apply_filters( 'native_aeo_pack_woo_owns_breadcrumbs', is_woocommerce() ); -
/** * This filter is documented in wp-includes/general-template.php */ apply_filters( 'single_post_title', $post->post_title, $post ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
apply_filters( 'wpml_current_language', null ); -
do_action( 'wpml_switch_language', $language ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'document_title_separator', '-' ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'wpml_element_trid', null, $post_id, $element ); -
apply_filters( 'wpml_get_element_translations', null, $trid, $element ); -
apply_filters( 'wpml_home_url', $home ); -
apply_filters( 'wpml_object_id', $page_id, 'page', true ); -
apply_filters( 'wpml_permalink', $entry['loc'], $language ); -
apply_filters( 'wpml_setting', 0, 'language_negotiation_type' ); -
do_action( 'wpml_sync_custom_field', $post_id, $key );
Generated from Visibility'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: