RankFlect SEO 1.4.3 has 4 actions and 69 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 RankFlect SEO fires an action
add_action( 'rankflect_audit_completed', function( $result ) {
// Your code runs here.
}, 10, 1 );
// Change a value RankFlect SEO is about to use
add_filter( 'rankflect_author_schema', function( $node, $arg2 ) {
// Change $node here.
return $node;
}, 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
-
/** * After an audit run, e.g. to keep its history (RankFlect SEO Pro). */ do_action( 'rankflect_audit_completed', $result ); -
/** * Filters the Person properties RankFlect SEO adds from an author profile. */ apply_filters( 'rankflect_author_schema', $node, (int) $user_id ); -
/** * Filter the HTML RankFlect SEO analyses for a post. */ apply_filters( 'rankflect_builder_content', $html, $post, $builder ); -
/** * Filters the content language the editor's readability analysis uses. */ apply_filters( 'rankflect_content_locale', ( $locale ? $locale : get_locale() ), $post ); -
/** * Most items listed per post type or taxonomy in the HTML sitemap. */ apply_filters( 'rankflect_html_sitemap_limit', self::LIMIT ); -
/** * Filter the post types RankFlect SEO counts internal links for. */ apply_filters( 'rankflect_link_count_types', $types ); -
/** * Notifications in the RankFlect SEO header bell. */ apply_filters( 'rankflect_notifications', $out ); -
/** * Videos found in a post. */ apply_filters( 'rankflect_post_videos', $out, $post ); -
/** * Filter the HTML added before or after a post in the RSS feed. */ apply_filters( 'rankflect_rss_content', $html, $position, $post ); -
/** * Value of a %cf:field% custom field variable. RankFlect SEO Pro reads ACF, * Meta Box, Pods, ACPT and plain post meta. */ apply_filters( 'rankflect_schema_custom_field', '', substr( $name, 3 ), $post ); -
/** * Filter the schema types an editor can add to a post. */ apply_filters( 'rankflect_schema_item_types', $types ); -
/** * Schema items for the current page, after the post's own items. RankFlect SEO * Pro adds the items of matching schema templates here. */ apply_filters( 'rankflect_schema_items', $items, $ctx, $post ); -
/** * Filters how long the schema map and its feeds are cached, in seconds. */ apply_filters( 'rankflect_schemamap_cache_ttl', 12 * HOUR_IN_SECONDS ); -
/** * Filters how many posts each schema map feed page holds. */ apply_filters( 'rankflect_schemamap_per_page', 100, $post_type ); -
/** * Filters the post types listed in the schema map (/schemamap.xml). */ apply_filters( 'rankflect_schemamap_post_types', array_keys( $types ) ); -
/** * Filters whether a sitemap request gets the human-readable HTML view instead * of the XML. */ apply_filters( 'rankflect_sitemap_html_view', $html, $ua ); -
/** * Filters the hosts whose images may be listed in the sitemap (for example a * CDN). */ apply_filters( 'rankflect_sitemap_image_hosts', array_unique( $hosts ) ); -
/** * Filters the image URLs listed for a post in the XML sitemap. */ apply_filters( 'rankflect_sitemap_images', $urls, $post ); -
apply_filters( 'wpml_object_id', $post->ID, $post->post_type, false, $code ); -
apply_filters( 'wpml_permalink', get_permalink( $t ), $code, true ); -
apply_filters( 'rankflect_analysis_content', Content::html( $post ), $post ); -
do_action( 'rankflect_data_written', $type, $id, $field, $value, $old ); -
apply_filters( 'rankflect_schema_graph', $graph, $ctx ); -
apply_filters( 'robots_txt', $output, $public ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'rankflect_abilities', $d ); -
apply_filters( 'rankflect_admin_integrations', array() ); -
apply_filters( 'rankflect_ai_content', \RankFlect\Core\Content::html( $post ), $post ); -
do_action( 'rankflect_backup_restored', $data, $parts ); -
apply_filters( 'rankflect_breadcrumbs', $items ); -
apply_filters( 'rankflect_check_object', true, $type, $id ); -
apply_filters( 'rankflect_context', self::resolve() ); -
do_action( 'rankflect_fs_loaded' ); -
apply_filters( 'rankflect_head_tags', $tags, $ctx ); -
apply_filters( 'rankflect_kml_locations', $list ); -
apply_filters( 'rankflect_llms_cache_key', 'speedrank_llms_txt' ); -
apply_filters( 'rankflect_llms_cache_keys', array( 'speedrank_llms_txt' ) ); -
apply_filters( 'rankflect_llms_item_url', get_permalink( $post ), $post ); -
apply_filters( 'rankflect_llms_query_args', array( 'post_type' => $pt, 'post_status' => 'publish', 'posts_per_page' => $limit, 'orderby' => 'page' === $pt ? 'menu_order' : 'modified', 'order' => 'page' === $pt ? 'ASC' : 'DESC', 'has_password' => false, ) ); -
apply_filters( 'rankflect_llms_txt', implode( "\n", $lines ) . "\n" ); -
apply_filters( 'rankflect_local_business', $b, (string) $location ); -
apply_filters( 'rankflect_local_has_locations', false ); -
apply_filters( 'rankflect_local_location_choices', $out ); -
apply_filters( 'rankflect_local_store_list', false ); -
apply_filters( 'rankflect_markdown_rewrite', false ); -
apply_filters( 'rankflect_multilingual_languages', $out, self::provider() ); -
apply_filters( 'rankflect_multilingual_provider', $provider ); -
apply_filters( 'rankflect_object_label', '', $type, $id ); -
apply_filters( 'rankflect_object_types', array() ); -
apply_filters( 'rankflect_print_hreflang', $print, self::provider() ); -
apply_filters( 'rankflect_product_brand', $brand, $product ); -
apply_filters( 'rankflect_product_schema', $node, $product, $url ); -
apply_filters( 'rankflect_promo_active', true ); -
apply_filters( 'rankflect_read_raw', null, $type, $id, $field ); -
apply_filters( 'rankflect_report_branding', array( 'logo' => '', 'color' => '#2952e3', 'header_color' => '#0b1530', 'name' => 'RankFlect SEO', 'intro' => '', 'footer' => '', ) ); -
apply_filters( 'rankflect_report_data', $data ); -
apply_filters( 'rankflect_report_recipients', array( get_option( 'admin_email' ) ) ); -
apply_filters( 'rankflect_report_schedule', array( 'frequency' => 'monthly', 'weekday' => 1, 'day' => 1, 'hour' => 8, ) ); -
apply_filters( 'rankflect_schemamap_changefreq', 'daily' ); -
apply_filters( 'rankflect_schemamap_priority', '0.8' ); -
apply_filters( 'rankflect_sitemap_index_entries', array() ); -
apply_filters( 'rankflect_social_tags', $tags, $ctx ); -
apply_filters( 'rankflect_validate_field', $value, $type, $field ); -
apply_filters( 'rankflect_variable_catalog', $vars ); -
apply_filters( 'rankflect_variables', $map, $object, (string) $template ); -
apply_filters( 'rankflect_write_raw', $old, $type, $id, $field, $value ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'wpml_post_language_details', null, $post->ID ); -
apply_filters( 'wpml_setting', array(), 'seo' ); -
apply_filters( 'xmlrpc_enabled', true );
Generated from RankFlect 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: