SEOKEY 2.0.3 has 29 actions and 93 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 SEOKEY fires an action
add_action( 'seokey_action_setting_form_after', function( $current_page_data ) {
// Your code runs here.
}, 10, 1 );
// Change a value SEOKEY is about to use
add_filter( 'document_title_separator', 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
-
/** * Filters the separator for the document title. It's the default WordPress * filter */ apply_filters( 'document_title_separator', '-' ); -
/** * Filters the parts of the document title. It's the default WordPress filter */ apply_filters( 'document_title_parts', $title ); -
/** * Filter and return final <title> tag */ apply_filters( 'seokey_filter_head_meta_title', $title ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Filters a string cleaned and escaped for output in XML. */ apply_filters( 'esc_xml', $safe_text, $text ); -
/** * Add the possibility to display something at the top of the form */ do_action( 'seokey_action_setting_form_after', $current_page_data ); -
/** * Allow an action at the end of a tab navigation */ do_action( 'seokey_action_setting_form_after_tab', $currenttab ); -
/** * Add the possibility to display something at the top of the form */ do_action( 'seokey_action_setting_form_before', $current_page_data ); -
/** * Add the possibility to display something after form button */ do_action( 'seokey_action_setting_form_button_after', $current_page_data ); -
/** * Add the possibility to display something before form button */ do_action( 'seokey_action_setting_form_button_before', $current_page_data ); -
/** * Allow filtering the allowed HTML tags array. */ apply_filters( 'seokey_admin_notices_allowed_html', $this->allowed_html ); -
/** * ° Filter and return SEOKEY links */ apply_filters( 'seokey_filter_admin_plugin_action_links', $links ); -
/** * ° Filter and return SEOKEY Settings : setting fields for all settings form */ apply_filters( 'seokey_filter_get_config_fields', [] ); -
/** * ° Filter SEOKEY Settings : sections for all settings form */ apply_filters( 'seokey_filter_get_config_sections', [] ); -
/** * SEOKEY Canonical URL filter */ apply_filters( 'seokey_filter_head_canonical_url', $current_url ); -
/** * Filters OpenGraph Data */ apply_filters( 'seokey_filter_head_data_opengraph', $data ); -
/** * Filters Twitter Card Data */ apply_filters( 'seokey_filter_head_data_twitter', $datatwitter ); -
/** * Filter and return final description */ apply_filters( 'seokey_filter_head_meta_description', $description ); -
/** * Filter and return truncated meta title */ apply_filters( 'seokey_filter_helper_meta_length', $content ); -
/** * Filter capability to have access to SEOKEY features */ apply_filters( 'seokey_filter_helper_user_get_capability', $types ); -
/** * Filter post_content before creating a default meta description */ apply_filters( 'seokey_filter_meta_desc_value_singular_postcontent', get_post($ID)->post_content ); -
/** * Filter cache directory list for automatic 410 codes */ apply_filters( 'seokey_filter_redirections_410_ressources', $check ); -
/** * Filter 404 list for automatic 410 codes */ apply_filters( 'seokey_filter_redirections_410_ressources_within', $check_within ); -
/** * RSS excerpt "Read More" text and html Filter */ apply_filters( 'seokey_filter_rss_content_read_more', $excerpt_more ); -
/** * Filter Callback field to allow custom fields */ apply_filters( 'seokey_filter_setting_callback_switch', $html, $args, $type, $option_value, $option_name, $placeholder, $described_by ); -
/** * Filter Callback field to allow custom fields */ apply_filters( "seokey_filter_setting_callback_switch_{$type}", $html, $args, $type, $option_value, $option_name, $placeholder, $described_by ); -
/** * Filter final callback rendering */ apply_filters( 'seokey_filter_setting_section_callback', $html, $args ); -
/** * Filter Tab navigation rendering */ apply_filters( 'seokey_filter_settings_api_forms_tabs', $render, $tabs ); -
/** * Add the possibility to automatically add a submit button or not */ apply_filters( 'seokey_filter_settings_form_with_submit_button', true ); -
/** * Fires when SEOKEY has load all files */ do_action( 'seokey_loaded' ); -
/** * Fires when initializing the Sitemaps object. */ do_action( 'wp_sitemaps_init', $wp_sitemaps ); -
/** * Filters the content of the sitemap stylesheet. */ apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content ); -
/** * Filters the CSS only for the sitemap stylesheet. */ apply_filters( 'wp_sitemaps_stylesheet_css', $css ); -
/** * Fires when _publish_post_hook() is called during an XML-RPC request. */ do_action( 'xmlrpc_publish_post', $post_id ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'seokey_filter_settings_add_contents_post_types', array_merge( $_builtin, $_custom ) ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
do_action( 'seokey_action_helper_audit_content_get_data', $task ); -
apply_filters( 'seokey_filter_check_other_plugins_init', $this->plugins_to_check ); -
apply_filters( 'seokey_filter_helper_audit_content_data', $content, $post ); -
apply_filters( 'seokey_filter_home_url', home_url() ); -
apply_filters( 'seokey_filter_image_html_tag', $filtered_image, $attachment_id ); -
apply_filters( 'seokey_filter_schema_org_actions_name', $name ); -
apply_filters( 'seokey_filter_sitemap_native_redirect', $custom_sitemaps, seokey_helper_url_get_current() ); -
apply_filters( 'woocommerce_short_description', $post->post_excerpt ); -
apply_filters( 'wpml_active_languages', [] ); -
apply_filters( "{$this->identifier}_default_time_limit", 30 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
apply_filters( 'excerpt_more', ' […]' ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'rss_enclosure_image_size', 'large' ); -
do_action( "seokey_action_{$field_id}_before" ); -
do_action( 'seokey_action_admin_pages_wrapper' ); -
do_action( 'seokey_action_admin_pages_wrapper_print_notices' ); -
do_action( 'seokey_action_admin_pages_wrapper_print_notices_after_title' ); -
do_action( 'seokey_action_head' ); -
do_action( 'seokey_action_setting_field_after_field', $field ); -
do_action( 'seokey_action_setting_field_after_title', $field ); -
do_action( 'seokey_action_setting_field_before_field', $field ); -
do_action( 'seokey_action_setting_field_before_title', $field ); -
do_action( 'seokey_action_setting_form_before_all_tabs' ); -
do_action( 'seokey_action_setting_sections_after', $id_section ); -
do_action( 'seokey_action_setting_sections_before', $id_section ); -
do_action( 'seokey_action_setting_table_after', $id_section ); -
do_action( 'seokey_action_setting_table_before', $id_section ); -
do_action( 'seokey_admin_page_wizard_content' ); -
do_action( 'seokey_dev_debug_load_styles' ); -
apply_filters( 'seokey_filter_acf_allowed_types', $allowedTypes ); -
apply_filters( 'seokey_filter_acf_content_to_audit', $content_to_add, $acf_field ); -
apply_filters( 'seokey_filter_admin_bar', seokey_helper_admin_get_menus() ); -
apply_filters( 'seokey_filter_admin_bar_post_type_archive_has_archive', $typenow_object->has_archive ); -
apply_filters( 'seokey_filter_admin_notices_launch', array() ); -
apply_filters( 'seokey_filter_admin_page_header_text', $text ); -
apply_filters( 'seokey_filter_admin_wizard_steps', $steps ); -
apply_filters( 'seokey_filter_audit_get_task_messages_content', [ 'title_length' => [ '1' => __( 'Title tag is too short: only %d characters. Here is the current title: <strong>%s</strong>', 'seo-key' ), '2' => __( 'Title tag is too long: %d characters. Here is the current title: <strong>%s</strong>', 'seo-key' ), ], 'meta_desc_length' => [ '1' => __( 'Meta description is missing.', 'seo-key' ), '2' => __( 'Meta description is too short: only %d characters.... ); -
apply_filters( 'seokey_filter_audit_get_task_messages_content_subpriority', [ 'meta_desc_length1' => __('Meta description empty: you should write one', 'seo-key' ), 'meta_desc_length2' => __('Meta description too short (%s characters): you should expand it', 'seo-key' ), 'meta_desc_length3' => __('Meta description too long (%s characters): you should reduce it', 'seo-key' ), ] ); -
apply_filters( 'seokey_filter_audit_get_task_name', [ 'title_length' => esc_html__( 'Meta title length', 'seo-key' ), 'meta_desc_length' => esc_html__( 'Meta descriptions length', 'seo-key' ), 'image_alt_missing' => esc_html__( 'Image ALT missing in contents', 'seo-key' ), 'no_image' => esc_html__( 'No image in contents', 'seo-key' ), 'no_links' => esc_html__( 'No internal link in main content', 'seo-key' ), 'main_keyword_selection' => esc_html_... ); -
apply_filters( 'seokey_filter_audit_get_task_score', $score ); -
apply_filters( 'seokey_filter_audit_get_task_text_with_count', [ 'urls' => _n( '<span class="seokey-issue-count">%s</span> URL with issue', '<span>%s</span> URL with issues', (int) $count, 'seo-key' ), 'title_length' => _n( '<span class="seokey-issue-count">%s</span> issue with title tag length', '<span class="seokey-issue-count">%s</span> issues with title tag length', (int) $count, 'seo-key' ), 'meta_desc_length' => _n( '<span class="seokey-issue-count">... ); -
apply_filters( 'seokey_filter_audit_global_types', $tabs ); -
apply_filters( 'seokey_filter_audit_single_data_content', $datas["content"], $id ); -
apply_filters( 'seokey_filter_audit_tab_content_count', $count, $task['task'] ); -
apply_filters( 'seokey_filter_audit_task_list_technical', $tasks ); -
apply_filters( 'seokey_filter_automatic_optimizations_list', $array ); -
apply_filters( 'seokey_filter_blocks_faq_schema', $schema_faq['mainEntity'] ); -
apply_filters( 'seokey_filter_breacrumbs_data', $data ); -
apply_filters( 'seokey_filter_get_languages', $pluginscheck ); -
apply_filters( 'seokey_filter_helper_help_messages', false, $id ); -
apply_filters( 'seokey_filter_meta_description', $description ); -
apply_filters( 'seokey_filter_meta_title', $title ); -
apply_filters( 'seokey_filter_redirections_data_status', self::$status_redirection ); -
apply_filters( 'seokey_filter_redirections_data_types', self::$type_redirection ); -
apply_filters( 'seokey_filter_redirections_display_tools_links', $links_default ); -
apply_filters( 'seokey_filter_robots_txt_content', $output ); -
apply_filters( 'seokey_filter_robots_txt_content_extra', '' ); -
apply_filters( 'seokey_filter_setting_label_value', $label, $option_name ); -
apply_filters( 'seokey_filter_settings_add_contents_taxonomies', $all_taxos ); -
apply_filters( 'seokey_filter_sitemap_native_redirect_lang', 'default_lang' ); -
apply_filters( 'seokey_filter_sitemap_sender_excluded', $this->excluded ); -
apply_filters( 'seokey_filter_users_profile_form_fields', $fields ); -
do_action( 'seokey_first_upgrader', $actual_version ); -
apply_filters( 'seokey_head_meta_description_add_switch', false ); -
apply_filters( 'seokey_settings_filter_taxonomy_choice', [ 'post_format' ] ); -
do_action( 'seokey_upgrader', $new_version, $actual_version ); -
do_action( "seokey-settings-api-after-option-{$option_name}" ); -
apply_filters( 'single_post_title', get_the_title( $ID ), $post ); -
apply_filters( 'the_excerpt', $excerpt ); -
apply_filters( 'the_title', $datas["title"], $id ); -
apply_filters( 'the_title_rss', get_the_title( $post->ID ) ); -
apply_filters( 'wpml_current_language', $lang ); -
apply_filters( 'wpml_element_language', null, $key, 'post' ); -
apply_filters( 'wpml_element_language_code', null, $args ); -
apply_filters( 'wpml_home_url', home_url() ); -
apply_filters( 'wpml_post_language_details', NULL, $item['id'] ); -
apply_filters( 'wpml_translate_single_string', 'category', 'WordPress', 'URL category tax slug', $taxonomy_language_code );
Generated from SEOKEY'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: