Rank Math SEO 1.0.282 has 44 actions and 156 filters, read directly from its source code on Nov 17, 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 Rank Math SEO fires an action
add_action( 'rank_math/abilities/set_sitemap_settings/after_save', function( $input ) {
// Your code runs here.
}, 10, 1 );
// Change a value Rank Math SEO is about to use
add_filter( 'rank_math/primary_term', 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
-
rank_math/primary_term
filter/** * Filter: Allow disabling the primary term feature. 'rank_math/primary_term' * is deprecated, use 'rank_math/admin/disable_primary_term' instead. */ apply_filters_deprecated( 'rank_math/primary_term', [ false ], '1.0.43', 'rank_math/admin/disable_primary_term' ); -
rank_math_clauses_{$type}
filter/** * Filter SQL clauses by type and context. */ apply_filters( "rank_math_clauses_{$type}", $clauses, $this->context ); -
/** * Filter SQL clauses by type and context. */ apply_filters( "rank_math_clauses_{$type}_{$this->context}", $clauses ); -
/** * Fires after set-sitemap-settings saves its FREE fields, so PRO can persist * its own sitemap fields (news_sitemap_publication_name, * video_sitemap_post_type, hide_video_sitemap, local_sitemap) from the same * input. */ do_action( 'rank_math/abilities/set_sitemap_settings/after_save', $input ); -
/** * Filter notification message & arguments before adding. Pass a falsy value to * stop the notification from getting added. */ apply_filters( 'rank_math/admin/add_notification', $notification ); -
/** * Fires after database tables have been created. */ do_action( 'rank_math/admin/after_create_tables', $tables, $modules ); -
/** * Filter: 'rank_math/analytics/date_exists_tables' - Allow developers to add * more tables to check. */ apply_filters( 'rank_math/analytics/date_exists_tables', $tables, $date, $action ); -
rank_math/author_base
filter/** * Filter: Change the author base. */ apply_filters( 'rank_math/author_base', sanitize_title_with_dashes( Helper::get_settings( 'titles.url_author_base' ), '', 'save' ) ); -
/** * Filter: Allow developers to preserve line breaks. */ apply_filters( 'rank_math/block/preserve_line_breaks', true, $block ); -
rank_math/can_edit_file
filter/** * Allow editing the robots.txt & htaccess data. */ apply_filters( 'rank_math/can_edit_file', ( ! defined( 'DISALLOW_FILE_EDIT' ) || ! DISALLOW_FILE_EDIT ) && ( ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS ) ); -
rank_math/database/tools
filter/** * Filters the list of tools available on the Database Tools page. */ apply_filters( 'rank_math/database/tools', $tools ); -
/** * Changing the list of accessible post types. */ apply_filters( 'rank_math/excluded_post_types', $accessible_post_types ); -
/** * Filter: 'rank_math_excluded_taxonomies' - Allow changing the accessible * taxonomies. */ apply_filters( 'rank_math/excluded_taxonomies', $taxonomies ); -
rank_math/flush_fields
filter/** * Filter: Allow developers to add option fields which will flush the rewrite * rules when updated. */ apply_filters( 'rank_math/flush_fields', [ 'strip_category_base', 'disable_author_archives', 'url_author_base', 'attachment_redirect_urls', 'attachment_redirect_default', 'nofollow_external_links', 'nofollow_image_links', 'nofollow_domains', 'nofollow_exclude_domains', 'new_window_external_links', 'redirections_header_code', 'redirections_post_redirect', 'redirections_debug', ] ); -
rank_math/frontend/canonical
filter/** * Filter the canonical URL. */ apply_filters( 'rank_math/frontend/canonical', $canonical ); -
/** * Fires while importing settings. */ do_action( "rank_math/import/settings/{$hook}", $data ); -
/** * Disable the JSON-LD output for the Sitelinks Searchbox. */ apply_filters( 'rank_math/json_ld/disable_search', ! is_front_page() || is_paged() ); -
rank_math/json_ld/search_url
filter/** * Change the search URL in the JSON-LD. */ apply_filters( 'rank_math/json_ld/search_url', home_url( '/?s={search_term_string}' ) ); -
/** * Fires after the Links admin page is registered. */ do_action( 'rank_math/links/admin_page_registered' ); -
rank_math/links/content
filter/** * Filter to change the content passed to the Link processor. */ apply_filters( 'rank_math/links/content', $content, $post_id ); -
rank_math/links/extract
filter/** * Filter: 'rank_math/links/extract' - Allow PRO to override extraction with * enhanced single-pass version. */ apply_filters( 'rank_math/links/extract', null, $content, $post_id ); -
rank_math/links/link_type
filter/** * Filter: 'rank_math/links/link_type' - Allow developers to filter the link * type. */ apply_filters( 'rank_math/links/link_type', $type, $link ); -
rank_math/links/process_post
filter/** * Filter to prevent processing the post. */ apply_filters( 'rank_math/links/process_post', true, $post ); -
/** * Filter to allow overriding the links REST response. */ apply_filters( 'rank_math/links/rest_links_response', null, $normalized ); -
/** * Filter to allow overriding the links-stats REST response. */ apply_filters( 'rank_math/links/rest_links_stats_response', null ); -
/** * Filter to allow overriding the posts REST response. */ apply_filters( 'rank_math/links/rest_posts_response', null, $normalized ); -
/** * Filter to allow overriding the posts-stats REST response. */ apply_filters( 'rank_math/links/rest_posts_stats_response', null ); -
rank_math/links/save_links
filter/** * Filter: Allow extensions to override link saving behavior. */ apply_filters( 'rank_math/links/save_links', null, $post_id, $links, $this ); -
rank_math/post_type_icons
filter/** * Allow developer to change post types icons. */ apply_filters( 'rank_math/post_type_icons', [ 'default' => 'rm-icon rm-icon-post', 'post' => 'rm-icon rm-icon-post', 'page' => 'rm-icon rm-icon-page', 'attachment' => 'rm-icon rm-icon-attachment', 'product' => 'rm-icon rm-icon-cart', 'web-story' => 'rm-icon rm-icon-stories', ] ); -
rank_math/pre_clear_cache
filter/** * Filter: 'rank_math/pre_clear_cache' - Allow developers to extend/override * cache clearing. Pass a truthy value to override the cache clearing. */ apply_filters( 'rank_math/pre_clear_cache', false, $context ); -
rank_math/pre_simple_page_id
filter/** * Filter: Allow changing the page ID before we process anything. */ apply_filters( 'rank_math/pre_simple_page_id', false ); -
/** * Filters the default column output. Pass non-empty value to enable. */ apply_filters( "rank_math/redirection/admin_column_{$column_name}", false, $item ); -
/** * Filters the columns displayed in the Redirections table. */ apply_filters( 'rank_math/redirection/admin_columns', [ 'cb' => '<input type="checkbox" />', 'sources' => esc_html__( 'From', 'seo-by-rank-math' ), 'url_to' => esc_html__( 'To', 'seo-by-rank-math' ), 'header_code' => esc_html__( 'Type', 'seo-by-rank-math' ), 'hits' => esc_html__( 'Hits', 'seo-by-rank-math' ), 'created' => esc_html__( 'Created', 'seo-by-rank-math' ), 'last_accessed' => esc_html__( 'Last Accessed', 'seo-by-rank-math' ), ] ); -
/** * Filters the list of bulk actions available on the Redirections table. */ apply_filters( 'rank_math/redirection/bulk_actions', $actions ); -
/** * Fires after deleting redirections. */ do_action( 'rank_math/redirection/deleted', $ids, $deleted ); -
/** * Filters the row class. */ apply_filters( 'rank_math/redirection/row_classes', $classes, $item ); -
/** * Filter whether we need to check for URL mismatch or not. */ apply_filters( 'rank_math/registration/do_url_check', ! get_option( 'rank_math_siteurl_mismatch_notice_dismissed' ) ); -
rank_math/replacements
filter/** * Filter: Allow customizing the replacements. */ apply_filters( 'rank_math/replacements', $replacements, self::$args ); -
/** * Filter: Allow changing the non-cacheable variables. */ apply_filters( 'rank_math/replacements/non_cacheable', $non_cacheable ); -
/** * Filter: Allow changing the default schema type. */ apply_filters( 'rank_math/schema/default_type', Helper::get_settings( "titles.pt_{$post_type}_default_article_type" ), $post_type, $post_id ); -
/** * Allow developers to add/remove Schema type choices. */ apply_filters( 'rank_math/settings/snippet/types', $types, $post_type ); -
rank_math/show_score
filter/** * Enable SEO Score. */ apply_filters( 'rank_math/show_score', true ); -
rank_math/simple_page_id
filter/** * Filter: Allow changing the page ID. */ apply_filters( 'rank_math/simple_page_id', 0 ); -
/** * Filter the slug of the sitemap. */ apply_filters( "rank_math/sitemap/{$type}/slug", $type ); -
rank_math/sitemap/base_url
filter/** * Filter the base URL of the sitemaps. */ apply_filters( 'rank_math/sitemap/base_url', $base ); -
/** * Filter XML sitemap cache directory. */ apply_filters( 'rank_math/sitemap/cache_directory', $default ); -
rank_math/sitemap/cache_mode
filter/** * Change sitemap caching mode (can be "file" or "db"). */ apply_filters( 'rank_math/sitemap/cache_mode', $this->mode ); -
/** * Filter to enable/disable XML sitemap caching. */ apply_filters( 'rank_math/sitemap/enable_caching', true ); -
/** * Filter: 'rank_math/sitemap/html_sitemap_post_types' - Allow changing the * post types to be included in the HTML sitemap. */ apply_filters( 'rank_math/sitemap/html_sitemap_post_types', $post_types ); -
/** * Filter: 'rank_math/sitemap/html_sitemap_taxonomies' - Allow changing the * taxonomies to be included in the HTML sitemap. */ apply_filters( 'rank_math/sitemap/html_sitemap_taxonomies', $taxonomies ); -
/** * Filter: 'rank_math/sitemap/include_noindex' - Include noindex data in * Sitemap. */ apply_filters( 'rank_math/sitemap/include_noindex', false, $type ); -
rank_math/sitemap/index/slug
filter/** * Filter: 'rank_math/sitemap/index_slug' - Modify the sitemap index slug. */ apply_filters( 'rank_math/sitemap/index/slug', 'sitemap_index' ); -
/** * Filter: 'rank_math/sitemap/invalidate_storage' - Allow developers to disable * sitemap cache invalidation. */ apply_filters( 'rank_math/sitemap/invalidate_storage', true, $type ); -
/** * Action: 'rank_math/sitemap/invalidated_storage' - Runs after sitemap cache * invalidation. */ do_action( 'rank_math/sitemap/invalidated_storage', $type ); -
/** * Allow developer to remove snippet data from Shop page. */ apply_filters( 'rank_math/snippet/remove_shop_data', false ); -
/** * Allow developer to remove snippet data. */ apply_filters( 'rank_math/snippet/remove_taxonomy_data', false, $queried_object->taxonomy ); -
/** * Allow developers to add/remove overlay images. */ apply_filters( 'rank_math/social/overlay_images', [ 'play' => [ 'name' => esc_html__( 'Play icon', 'seo-by-rank-math' ), 'url' => $uri . 'icon-play.png', 'path' => $dir . 'icon-play.png', ], 'gif' => [ 'name' => esc_html__( 'GIF icon', 'seo-by-rank-math' ), 'url' => $uri . 'icon-gif.png', 'path' => $dir . 'icon-gif.png', ], ] ); -
rank_math/taxonomy_icons
filter/** * Allow developer to change taxonomies icons. */ apply_filters( 'rank_math/taxonomy_icons', [ 'default' => 'rm-icon rm-icon-category', 'category' => 'rm-icon rm-icon-category', 'post_tag' => 'rm-icon rm-icon-tag', 'product_cat' => 'rm-icon rm-icon-category', 'product_tag' => 'rm-icon rm-icon-tag', 'post_format' => 'rm-icon rm-icon-post-format', ] ); -
rank_math/whitelabel
filter/** * Enable whitelabel. */ apply_filters( 'rank_math/whitelabel', false ); -
/** * Filter whether a post is able to be edited in the block editor. */ apply_filters( 'use_block_editor_for_post_type', true, $post_type ); -
wp_helpers_is_affiliate_link
filter/** * Filter: 'wp_helpers_is_affiliate_link' - Allows developer to consider a link * as affiliate. */ apply_filters( 'wp_helpers_is_affiliate_link', false, $url ); -
/** * Filter: 'wp_helpers_notification_dismissed' - Allows developer to perform * action after dismissed. */ do_action( 'wp_helpers_notification_dismissed', $notification_id, $notification ); -
/** * Filter: 'wp_helpers_notifications_before_storage' - Allows developer to * filter notifications before saving them. */ apply_filters( 'wp_helpers_notifications_before_storage', $notifications ); -
/** * Filter: 'wp_helpers_notifications_render' - Allows developer to filter * notifications before the output is finalized. */ apply_filters( 'wp_helpers_notifications_render', $output, $this->message, $this->options ); -
apply_filters( 'rank_math_clear_data_on_uninstall', false ); -
apply_filters( 'rank_math/analytics/max_days_allowed', 90 ); -
apply_filters( 'rank_math/analytics/options/cache_control/description', $description ); -
apply_filters_deprecated( 'rank_math/analytics/options/cahce_control/description', [ $description ], '1.0.61.1', 'rank_math/analytics/options/cache_control/description' ); -
rank_math/head
actiondo_action( 'rank_math/head' ); -
rank_math/module_changed
actiondo_action( 'rank_math/module_changed', $slug, $state ); -
sanitize_text_field
filterapply_filters( 'sanitize_text_field', $filtered, $value ); -
wpml_post_language_details
filterapply_filters( 'wpml_post_language_details', null, $post_id ); -
apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
auto_update_plugin
filterapply_filters_ref_array( 'auto_update_plugin', [ true, (object) [] ] ); -
automatic_updater_disabled
filterapply_filters_ref_array( 'automatic_updater_disabled', [ false ] ); -
https_local_ssl_verify
filterapply_filters( 'https_local_ssl_verify', true ); -
do_action( 'rank_math/404_monitor/before_list_table', $monitor ); -
apply_filters( 'rank_math/404_monitor/get_logs_args', $args ); -
apply_filters( 'rank_math/abilities/link_report_result', $result, $input ); -
apply_filters( 'rank_math/admin/create_tables', $tables, $modules ); -
rank_math/admin/robots
filterapply_filters( 'rank_math/admin/robots', $robots, $post_id ); -
apply_filters( 'rank_math/admin/sensitive_data_encryption', true ); -
apply_filters( 'rank_math/ai_visibility/dashboard_ttl', 12 * HOUR_IN_SECONDS ); -
apply_filters( 'rank_math/analysis/is_allowed_url', false, $clean ); -
apply_filters( 'rank_math/analytics/ability/top_keywords', $keywords, $date_range ); -
rank_math/analytics/adsense
filterapply_filters( 'rank_math/analytics/adsense', ob_get_clean(), $analytics, $all_services ); -
apply_filters( 'rank_math/analytics/analytics_summary_graph', $data, $intervals ); -
apply_filters( 'rank_math/analytics/analytics_tables_info', $data ); -
rank_math/analytics/app_url
filterapply_filters( 'rank_math/analytics/app_url', 'https://oauth.rankmath.com' ); -
apply_filters( 'rank_math/analytics/check_all_services', $result ); -
do_action( 'rank_math/analytics/clear_cache' ); -
apply_filters( 'rank_math/analytics/connect_actions', $connections ); -
do_action( 'rank_math/analytics/delete_by_days', $days ); -
do_action( 'rank_math/analytics/delete_data_log', $start ); -
apply_filters( 'rank_math/analytics/email_report_periods', $periods ); -
apply_filters( 'rank_math/analytics/frontend_stats', Helper::get_settings( 'general.analytics_stats' ) ); -
apply_filters( "rank_math/analytics/get_{$action}_days", [ 'start_date' => $dates['start_date'], 'end_date' => $dates['end_date'], ] ); -
do_action_ref_array( 'rank_math/analytics/get_inspections_count_query', [ &$query, $params ] ); -
do_action_ref_array( 'rank_math/analytics/get_inspections_query', [ &$query, $params ] ); -
apply_filters( 'rank_math/analytics/get_inspections_results', $results ); -
rank_math/analytics/get_page
filterapply_filters( 'rank_math/analytics/get_page', $page ); -
apply_filters( 'rank_math/analytics/get_posts_rows_by_objects', false, $request ); -
apply_filters( 'rank_math/analytics/get_translated_objects', $post_id ); -
apply_filters( 'rank_math/analytics/get_widget', $stats ); -
do_action( "rank_math/analytics/handle_{$this->workflow}_response", [ 'formatted_response' => $formatted_response, 'response' => $response, 'http_verb' => $http_verb, 'url' => $url, 'args' => $args, 'code' => $code, ] ); -
apply_filters( 'rank_math/analytics/hide_email_report_options', false ); -
apply_filters( 'rank_math/analytics/inspection_defaults', $defaults ); -
rank_math/analytics/keywords
filterapply_filters( 'rank_math/analytics/keywords', $rows ); -
apply_filters( 'rank_math/analytics/keywords_overview', [ 'topKeywords' => Stats::get()->get_top_keywords(), 'positionGraph' => Stats::get()->get_top_position_graph(), ] ); -
rank_math/analytics/log
actiondo_action( 'rank_math/analytics/log', $http_verb, $url, $args, $response, $formatted_response, $params ); -
apply_filters( 'rank_math/analytics/log_response', false ); -
apply_filters( "rank_math/analytics/options/{$field_id}/description", '' ); -
do_action( 'rank_math/analytics/options/analytics' ); -
do_action( 'rank_math/analytics/options/console' ); -
apply_filters( 'rank_math/analytics/options/data', [ 'analytics' => \RankMath\Wizard\Search_Console::get_localized_data(), 'isSettingsPage' => true, 'homeUrl' => home_url(), 'fields' => [ 'console_caching_control' => [ 'description' => $this->get_description( 'console_caching_control' ), ], ], 'dbInfo' => [ 'days' => $db_info['days'] ?? 0, 'rows' => Str::human_number( $db_info['rows'] ?? 0 ), 'size' => size_format( $db_info['size'] ?? 0 ), ], '... ); -
do_action( 'rank_math/analytics/options/wizard_after_email_report' ); -
apply_filters( 'rank_math/analytics/position_limit', false ); -
apply_filters( 'rank_math/analytics/post_data', (array) $post, $request ); -
apply_filters( 'rank_math/analytics/posts_summary', $summary, $post_type, $query ); -
do_action( 'rank_math/analytics/purge_cache', $table ); -
apply_filters( 'rank_math/analytics/row_limit', 10000 ); -
rank_math/analytics/summary
filterapply_filters( 'rank_math/analytics/summary', $stats ); -
apply_filters( 'rank_math/analytics/url_inspection_map_properties', $normalized, $incoming ); -
apply_filters( 'rank_math/analytics/user_preference', [ 'topPosts' => [ 'seo_score' => false, 'schemas_in_use' => false, 'impressions' => true, 'pageviews' => true, 'clicks' => false, 'position' => true, 'positionHistory' => true, ], 'siteAnalytics' => [ 'seo_score' => true, 'schemas_in_use' => true, 'impressions' => false, 'pageviews' => true, 'links' => true, 'clicks' => false, 'position' => false, 'positionHistory' => false, ], 'performance' =>... ); -
do_action( "rank_math/analytics/workflow/{$action}", $days, $prev, $new_value ); -
rank_math/before_help_link
actiondo_action( 'rank_math/before_help_link' ); -
apply_filters( "rank_math/blocks/{$block}/title_wrapper", $wrapper ); -
rank_math/cache/enabled
filterapply_filters( 'rank_math/cache/enabled', true ); -
apply_filters( 'rank_math/cache/generate_hash', trim( $value ) ); -
do_action( 'rank_math/connect/account_connected', $data ); -
apply_filters( 'rank_math/content_ai/call_api', true ); -
do_action( 'rank_math/content_ai/generate_alt', $ids ); -
do_action( 'rank_math/content-ai/update_prompts' ); -
apply_filters( 'rank_math/database/query/results', $results, $args, $start_time ); -
rank_math/deregister_site
actiondo_action( 'rank_math/deregister_site' ); -
apply_filters( 'rank_math/determine_search_intent', true ); -
rank_math/enable_big_selects
filterapply_filters( 'rank_math/enable_big_selects', true ); -
rank_math/export/settings
filterapply_filters( 'rank_math/export/settings', $data, $panel ); -
rank_math/filter_metadata
filterapply_filters( 'rank_math/filter_metadata', $request->get_param( 'meta' ), $request ); -
rank_math/gutenberg/enabled
filterapply_filters( 'rank_math/gutenberg/enabled', true ); -
rank_math/is_react_enabled
filterapply_filters( 'rank_math/is_react_enabled', true ); -
rank_math/json_data
filterapply_filters( 'rank_math/json_data', $object_data ); -
apply_filters( 'rank_math/json_ld/business_types', [ [ 'label' => 'Organization', 'child' => [ [ 'label' => 'Airline' ], [ 'label' => 'Consortium' ], [ 'label' => 'Corporation' ], [ 'label' => 'Educational Organization', 'child' => [ [ 'label' => 'College Or University' ], [ 'label' => 'Elementary School' ], [ 'label' => 'High School' ], [ 'label' => 'Middle School' ], [ 'label' => 'Preschool' ], [ 'label' => 'School' ], ], ], [ 'label' => 'Fun... ); -
apply_filters( 'rank_math/license/activate_url', Security::add_query_arg_raw( $args, RANK_MATH_SITE_URL . '/auth' ), $args ); -
rank_math/link
filterapply_filters( 'rank_math/link', [], $key, $base_url ); -
rank_math/links/is_external
filterapply_filters( 'rank_math/links/is_external', null, $url_parts ); -
rank_math/loaded
actiondo_action( 'rank_math/loaded' ); -
rank_math/lock_modified_date
filterapply_filters( 'rank_math/lock_modified_date', true ); -
apply_filters( 'rank_math/metabox/add_seo_metabox', Helper::get_settings( 'titles.pt_' . $post_type . '_add_meta_box', 'web-story' !== $post_type ) ); -
apply_filters( 'rank_math/paper/auto_generated_description/apply_shortcode', false ); -
do_action( 'rank_math/pre_update_metadata', $object_id, $object_type, $content ); -
rank_math/pre_update_schema
actiondo_action( 'rank_math/pre_update_schema', $object_id, $object_type ); -
rank_math/pro_badge
actiondo_action( 'rank_math/pro_badge' ); -
apply_filters( 'rank_math/recalculate_scores_batch_size', 25 ); -
do_action( 'rank_math/redirection/after_import', $id, $row ); -
apply_filters( 'rank_math/redirection/get_clean_pattern', $cleaned, $pattern, $comparison ); -
do_action_ref_array( 'rank_math/redirection/get_redirections_query', [ &$table, $args ] ); -
apply_filters( 'rank_math/schema/block/faq/content', wp_kses_post( join( "\n", $out ) ), $out, $attributes ); -
apply_filters( 'rank_math/schema/block/howto/content', wp_kses_post( join( "\n", $out ) ), $out, $attributes ); -
apply_filters( 'rank_math/schema/block/toc/content', wp_kses_post( $block_content ), $block_content, $parsed_block['attrs'] ); -
rank_math/schema/filter_data
filterapply_filters( 'rank_math/schema/filter_data', $request->get_param( 'schemas' ), $request ); -
rank_math/schema/update
actiondo_action( 'rank_math/schema/update', $object_id, $schemas, $object_type ); -
apply_filters( 'rank_math/schema/use_default_product', true ); -
apply_filters( 'rank_math/seo_analysis/postmeta_table_limit', 200000 ); -
do_action( 'rank_math/settings/after_save', $type, $changed_settings ); -
do_action( 'rank_math/settings/before_save', $type, $settings ); -
apply_filters( 'rank_math/settings/sanitize_fields', self::sanitize_by_field_id( $value, $field_id ), $value, $field_id ); -
apply_filters( 'rank_math/settings/saved_data', Helper::get_settings( $type ), $type ); -
do_action( 'rank_math/settings/toggle_auto_update', $toggle ); -
rank_math/setup_mode
filterapply_filters( 'rank_math/setup_mode', Helper::get_settings( 'general.setup_mode', 'advanced' ) ); -
apply_filters( "rank_math/setup_wizard/{$step}/localized_data", array_merge( $data, $steps[ $step ]::get_localized_data() ) ); -
do_action( "rank_math/setup_wizard/{$step}/save_data", $values ); -
do_action( 'rank_math/setup_wizard/enable_tracking', $enable_tracking === 'on' ); -
do_action( 'rank_math/setup_wizard/step_viewed', $step ); -
apply_filters( 'rank_math/shortcode/contact/address_parts_format', '<span class="contact-address-%1$s">%2$s</span>' ); -
rank_math/sitemap/hit_index
actiondo_action( 'rank_math/sitemap/hit_index' ); -
rank_math/sitemap/index
filterapply_filters( 'rank_math/sitemap/index', '' ); -
rank_math/sitemap/locations
filterapply_filters( 'rank_math/sitemap/locations', false ); -
apply_filters( 'rank_math/sitemap/locations/data', [ [ 'name' => Helper::get_settings( 'titles.knowledgegraph_name' ) ] ] ); -
apply_filters( 'rank_math/sitemap/maybe_redirect', true ); -
apply_filters( 'rank_math/sitemap/posts_to_exclude', $posts_to_exclude ); -
rank_math/snippet/breadcrumb
filterapply_filters( 'rank_math/snippet/breadcrumb', $entity ); -
apply_filters( 'rank_math/social/overlay_image_position', 'middle_center', $name ); -
apply_filters( "rank_math/status/{$view}/json_data", $hash[ $view ]::get_json_data() ); -
apply_filters( 'rank_math/status/rank_math_info', $rankmath ); -
rank_math/tools/{$action}
filterapply_filters( "rank_math/tools/{$action}", 'Something went wrong.', $request ); -
apply_filters( "rank_math/vars/{$this->get_id()}", $var_args, $this ); -
apply_filters( 'rank_math/wizard/pre_remove_import_step', null ); -
apply_filters( 'rank_math/woocommerce/product_brand', $brand ); -
do_action( 'rank-math/admin_enqueue_scripts' ); -
robots_txt
filterapply_filters( 'robots_txt', $default, $public ); -
wp
actiondo_action( 'wp' ); -
wp_get_attachment_url
filterapply_filters( 'wp_get_attachment_url', $src, $post_id ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $page_id, 'page', true ); -
wpml_permalink
filterapply_filters( 'wpml_permalink', $permalink, $code );
Generated from Rank Math SEO's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: