The SEO Framework 5.2.1 has 79 actions and 179 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 The SEO Framework fires an action
add_action( 'deprecated_function_run', function( $function, $replacement, $version ) {
// Your code runs here.
}, 10, 3 );
// Change a value The SEO Framework is about to use
add_filter( 'the_seo_framework_enable_noindex_no_posts', 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
-
/** * We recommend using this filter ONLY for archives that have useful content * but no "posts" attached. For example: a specially custom-developed author * page for an author that never published a post. */ apply_filters( 'the_seo_framework_enable_noindex_no_posts', true ); -
/** * Tip: Prefix the indexes with your (plugin) name to prevent collisions. The * index corresponds to field with the ID `autodescription-quick[%s]`, where %s * is the index. */ apply_filters( 'the_seo_framework_list_table_data', $data, $generator_args ); -
content_pagination
filter/** * Filter the "pages" derived from splitting the post content. */ apply_filters( 'content_pagination', $pages, $post ); -
deprecated_function_run
action/** * Fires when a deprecated function is called. */ do_action( 'deprecated_function_run', $function, $replacement, $version ); -
/** * Filter whether to trigger an error for deprecated functions. */ apply_filters( 'deprecated_function_trigger_error', true ); -
doing_it_wrong_run
action/** * Fires when the given function is being used incorrectly. */ do_action( 'doing_it_wrong_run', $function, $message, $version ); -
post_type_archive_title
filter/** * Filters the post type archive title. */ apply_filters( 'post_type_archive_title', Post_Type::get_label( $post_type, false ), $post_type ); -
private_title_format
filter/** * Filters the text prepended to the post title of private posts. */ apply_filters( 'private_title_format', \__( 'Private: %s', 'default' ), $post ); -
protected_title_format
filter/** * Filters the text prepended to the post title of protected posts. */ apply_filters( 'protected_title_format', \__( 'Protected: %s', 'default' ), $post ); -
single_cat_title
filter/** * Filter the category archive page title. */ apply_filters( 'single_cat_title', $term->name ); -
single_post_title
filter/** * Filters the page title for a single post. */ apply_filters( 'single_post_title', $post->post_title, $post ); -
single_tag_title
filter/** * Filter the tag archive page title. */ apply_filters( 'single_tag_title', $term->name ); -
single_term_title
filter/** * Filter the custom taxonomy archive page title. */ apply_filters( 'single_term_title', $term->name ); -
/** * Always strip shortcodes unless specifically allowed via the filter. */ apply_filters( 'the_seo_framework_allow_excerpt_shortcode_tags', false, $args ); -
/** * Values other than `fast`, `accurate`, and `thorough` aren't saved. */ apply_filters( 'the_seo_framework_auto_description_html_method_methods', [ 'fast' => \__( 'Fast (max. 2 passes)', 'autodescription' ), 'accurate' => \__( 'Accurate (max. 6 passes)', 'autodescription' ), 'thorough' => \__( 'Thorough (max. 12 passes)', 'autodescription' ), ] ); -
/** * This filter affects both 'search-"archives"' and terms/taxonomies. */ apply_filters( 'the_seo_framework_do_adjust_archive_query', true, $wp_query ); -
/** * We do not recommend using this filter as it'll likely get those pages * flagged as duplicated by Google anyway; unless the theme strips or trims the * content. */ apply_filters( 'the_seo_framework_enable_noindex_comment_pagination', true ); -
/** * Missing 'th', 'tr', 'tbody', 'thead', 'dd', 'dt', and 'li' -- these are * obligatory subelements of what's already cleared. */ apply_filters( 'the_seo_framework_extract_content_strip_args', [ 'space' => [ 'article', 'br', 'blockquote', 'details', 'div', 'hr', 'p', 'section' ], 'clear' => [ 'address', 'area', 'aside', 'audio', 'blockquote', 'button', 'canvas', 'code', 'datalist', 'del', 'dialog', 'dl', 'fieldset', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'iframe', 'input', 'label', 'map', 'menu', 'meter', 'nav', 'noscript', 'ol', 'object',... ); -
/** * Various meta box filters. Set any to false if you wish the meta box to be * removed. */ apply_filters( 'the_seo_framework_general_metabox', true ); -
/** * Fires when the inaccessible property or method is being used. */ do_action( 'the_seo_framework_inaccessible_p_or_m_run', $p_or_m, $message ); -
/** * Filter whether to trigger an error for _doing_it_wrong() calls. */ apply_filters( 'the_seo_framework_inaccessible_p_or_m_trigger_error', true ); -
/** * Allows for altering the inpost SEO settings meta box tabs. */ apply_filters( 'the_seo_framework_inpost_settings_tabs', $default_tabs, null ); -
/** * Values other than `organization` and `person` aren't saved. */ apply_filters( 'the_seo_framework_knowledge_types', [ 'organization' => \__( 'An Organization', 'autodescription' ), 'person' => \__( 'A Person', 'autodescription' ), ] ); -
/** * Adjust interpreter and builder items here, before the tests have run. */ do_action( 'the_seo_framework_prepare_seo_bar', self::class, $builder ); -
/** * Do not consider using this filter. Properly register your post type, noob. */ apply_filters( 'the_seo_framework_public_post_type_archives', array_values( array_filter( self::get_all_public(), fn( $post_type ) => \get_post_type_object( $post_type )->has_archive ?? false, ), ) ); -
/** * Do not consider using this filter. Properly register your post type, noob. */ apply_filters( 'the_seo_framework_public_post_types', array_values( array_filter( array_unique( array_merge( self::get_all_forced_supported(), array_keys( (array) \get_post_types( [ 'public' => true ] ) ), ), ), 'is_post_type_viewable', ), ) ); -
/** * Do not consider using this filter. Properly register your taxonomy, noob. */ apply_filters( 'the_seo_framework_public_taxonomies', array_values( array_filter( array_unique( array_merge( self::get_all_forced_supported(), array_values( \get_taxonomies( [ 'public' => true, '_builtin' => false, ] ) ), ), ), 'is_taxonomy_viewable', ), ) ); -
/** * Values other than `in_query` and `post_query` aren't saved. */ apply_filters( 'the_seo_framework_query_alteration_types', [ 'in_query' => \_x( 'In the database', 'Perform query alteration: In the database', 'autodescription' ), 'post_query' => \_x( 'On the site', 'Perform query alteration: On the site', 'autodescription' ), ] ); -
/** * Filters the front-end robots array, and strips empty indexes thereafter. */ apply_filters( 'the_seo_framework_robots_meta_array', $meta, $args, $options ); -
the_seo_framework_robots_txt
filter/** * The robots.txt output. */ apply_filters( 'the_seo_framework_robots_txt', $output ); -
/** * For consistency, data should be filtered deep, such as (WordPress) title * filters for breadcrumb and page titles. Use this only if those aren't * available. */ apply_filters( 'the_seo_framework_schema_graph_data', $graph, $args ); -
/** * For consistency, data should be filtered deep, such as (WordPress) title * filters for breadcrumb and page titles. Use this only if those aren't * available. */ apply_filters( 'the_seo_framework_schema_queued_graph_data', $graph, $args ); -
the_seo_framework_seo_bar
action/** * Add or adjust SEO Bar items here, after the tests have run. */ do_action( 'the_seo_framework_seo_bar', self::class, $builder ); -
/** * This filter accepts a simple string, which may strain the memory usage if * not generated (via co-routine). */ apply_filters( 'the_seo_framework_sitemap_extend', '', [ 'show_modified' => $show_modified, 'count' => $this->url_count, ] ); -
/** * Ignore RFC2616 slashlessness by adding a slash; this makes life easier when * trailing and testing the URL, as well. */ apply_filters( 'the_seo_framework_sitemap_path_prefix', '/' ); -
/** * Filters the title from custom field, if any. */ apply_filters( 'the_seo_framework_title_from_custom_field', $title, $args ); -
/** * Filters the title from query. */ apply_filters( 'the_seo_framework_title_from_generation', coalesce_strlen( $title ) ?? self::get_untitled_title(), $args ); -
/** * Warned site settings. Only accepts checkbox options. When listed as 1, it's * a feature which can destroy your website's SEO value when checked. */ apply_filters( 'the_seo_framework_warned_site_options', [ 'title_rem_additions' => 1, 'site_noindex' => 1, 'site_nofollow' => 1, 'homepage_noindex' => 1, 'homepage_nofollow' => 1, Helper::get_robots_option_index( 'post_type', 'noindex' ) => [ 'post' => 1, 'page' => 1, ], Helper::get_robots_option_index( 'post_type', 'nofollow' ) => [ 'post' => 1, 'page' => 1, ], ] ); -
wp_ajax_crop_image_pre_save
action/** * Fires before a cropped image is saved. */ do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped ); -
wp_create_file_in_uploads
filter/** * This filter is documented in wp-admin/includes/class-custom-image-header.php */ apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); -
wp_sitemaps_posts_entry
filter/** * Filters the sitemap entry for an individual post. */ apply_filters( 'wp_sitemaps_posts_entry', $sitemap_entry, $post, $post_type ); -
/** * Filters the posts URL list before it is generated. */ apply_filters( 'wp_sitemaps_posts_pre_url_list', null, $post_type, $page_num ); -
/** * Filters the sitemap entry for the home page when the 'show_on_front' option * equals 'posts'. */ apply_filters( 'wp_sitemaps_posts_show_on_front_entry', $sitemap_entry ); -
wp_sitemaps_taxonomies_entry
filter/** * Filters the sitemap entry for an individual term. */ apply_filters( 'wp_sitemaps_taxonomies_entry', [ 'loc' => $term_link ], $term->term_id, $taxonomy, $term ); -
/** * Filters the taxonomies URL list before it is generated. */ apply_filters( 'wp_sitemaps_taxonomies_pre_url_list', null, $taxonomy, $page_num ); -
wp_sitemaps_users_entry
filter/** * Filters the sitemap entry for an individual user. */ apply_filters( 'wp_sitemaps_users_entry', [ 'loc' => \get_author_posts_url( $user->ID ) ], $user ); -
/** * Filters the users URL list before it is generated. */ apply_filters( 'wp_sitemaps_users_pre_url_list', null, $page_num ); -
apply_filters( 'the_seo_framework_bother_me_desc_length', 3 ); -
apply_filters( 'the_seo_framework_sitemap_blog_lastmod', strtotime( $_publish_post ) > strtotime( $_lastmod_blog ) ? $_publish_post : $_lastmod_blog ); -
do_action( 'the_seo_framework_after_quick_edit', $post_type, $taxonomy ); -
do_action( 'the_seo_framework_before_quick_edit', $post_type, $taxonomy ); -
apply_filters( 'the_seo_framework_indicator_sitemap', true ); -
apply_filters( 'the_seo_framework_sitemap_color_accent', $colors['accent'] ); -
apply_filters( 'the_seo_framework_sitemap_color_main', $colors['main'] ); -
apply_filters( 'the_seo_framework_sitemap_logo', $_src ); -
apply_filters( 'the_seo_framework_sitemap_relative_font_color', Color::get_relative_fontcolor( $colors['main'] ) ); -
do_action( "{$hook_name}_settings_page_boxes", $hook_name ); -
bbp_raw_title
filterapply_filters( 'bbp_raw_title', $new_title, '»', '' ); -
bbp_raw_title_array
filterapply_filters( 'bbp_raw_title_array', $new_title ); -
doing_it_wrong_trigger_error
filterapply_filters( 'doing_it_wrong_trigger_error', true ); -
pll_language_defined
actiondo_action( 'pll_language_defined' ); -
sybre_waaijer_<3
filterapply_filters( 'sybre_waaijer_<3', true ); -
the_seo_framework_404_title
filterapply_filters( 'the_seo_framework_404_title', \__( 'Page not found', 'default' ) ); -
the_seo_framework_admin_init
actiondo_action( 'the_seo_framework_admin_init' ); -
do_action( 'the_seo_framework_admin_loaded' ); -
do_action( 'the_seo_framework_after_admin_init' ); -
do_action( 'the_seo_framework_after_author_fields' ); -
do_action( 'the_seo_framework_after_bulk_edit', $post_type, $taxonomy ); -
do_action( 'the_seo_framework_after_front_init' ); -
the_seo_framework_after_init
actiondo_action( 'the_seo_framework_after_init' ); -
do_action( 'the_seo_framework_after_meta_output' ); -
do_action( 'the_seo_framework_after_siteadmin_metaboxes', $hook_name ); -
do_action( 'the_seo_framework_after_siteadmin_metaboxes_side', $hook_name ); -
apply_filters( 'the_seo_framework_allow_external_redirect', true ); -
do_action( 'the_seo_framework_before_author_fields' ); -
do_action( 'the_seo_framework_before_bulk_edit', $post_type, $taxonomy ); -
do_action( 'the_seo_framework_before_meta_output' ); -
do_action( 'the_seo_framework_before_redirect', $url ); -
do_action( 'the_seo_framework_before_siteadmin_metaboxes', $hook_name ); -
do_action( 'the_seo_framework_before_siteadmin_metaboxes_side', $hook_name ); -
the_seo_framework_blog_name
filterapply_filters( 'the_seo_framework_blog_name', trim( \get_bloginfo( 'name', 'display' ) ) ); -
apply_filters( 'the_seo_framework_breadcrumb_list', $list, $args, self::$options ); -
apply_filters( 'the_seo_framework_breadcrumb_shortcode_css', [ "nav.$class ol" => [ 'display:flex', 'flex-wrap:wrap', 'list-style:none', 'margin-inline-start:0', 'padding-inline-start:0', ], "nav.$class ol li" => [ 'white-space:nowrap', 'list-style:none', ], "nav.$class ol li:not(:last-child)::after" => [ "content:'$sep'", 'margin-inline-end:1ch', 'margin-inline-start:1ch', ], ], $class ); -
apply_filters( 'the_seo_framework_breadcrumb_shortcode_output', "$nav$style", $crumbs, $nav, $style, $trail ); -
do_action( 'the_seo_framework_build_sitemap_base', $this ); -
apply_filters( 'the_seo_framework_canonical_scheme_types', [ 'automatic' => \sprintf( \__( 'Detect automatically (%s)', 'autodescription' ), strtoupper( $detected_scheme ), ), 'http' => 'HTTP', 'https' => 'HTTPS', ] ); -
do_action( 'the_seo_framework_cleared_sitemap_transients' ); -
apply_filters( 'the_seo_framework_conflicting_plugins', $conflicting_plugins ); -
apply_filters( 'the_seo_framework_current_admin_id', ( \get_the_id() ?: self::get_admin_post_id() ?: self::get_admin_term_id() ) ); -
apply_filters( 'the_seo_framework_current_object_id', ( $id ?? 0 ) ?: \get_queried_object_id(), $use_cache ); -
apply_filters( 'the_seo_framework_custom_field_description', $desc, $args ); -
apply_filters( 'the_seo_framework_custom_image_details', $single ? array_filter( [ self::generate_custom_image_details( $args, $context )->current() ] ) : [ ...self::generate_custom_image_details( $args, $context ) ], $args, $single ); -
apply_filters( 'the_seo_framework_default_site_options', [ 'alter_search_query' => 1, 'alter_archive_query' => 1, 'alter_archive_query_type' => 'in_query', 'alter_search_query_type' => 'in_query', 'display_seo_bar_tables' => 1, 'display_seo_bar_metabox' => 0, 'seo_bar_low_contrast' => 0, 'seo_bar_symbols' => 0, 'display_list_edit_options' => 1, 'display_term_edit_options' => 1, 'display_user_edit_options' => 1, 'display_pixel_counter' => 1, 'display_... ); -
do_action_deprecated( 'the_seo_framework_delete_cache_sitemap', [ 'sitemap', 0, [ 'type' => 'sitemap' ], [ true ], ], '5.0.0 of The SEO Framework', 'the_seo_framework_cleared_sitemap_transients' ); -
apply_filters( 'the_seo_framework_description_excerpt', $excerpt, $args, $type ); -
apply_filters( 'the_seo_framework_description_metabox', true ); -
do_action( 'the_seo_framework_description_metabox_after' ); -
do_action( 'the_seo_framework_description_metabox_before' ); -
apply_filters( 'the_seo_framework_detect_non_html_page_builder', null, $post_id, $meta ); -
do_action( 'the_seo_framework_do_after_output' ); -
do_action( 'the_seo_framework_do_before_output' ); -
the_seo_framework_downgraded
actiondo_action( 'the_seo_framework_downgraded', (string) $previous_version, (string) $current_version ); -
apply_filters( 'the_seo_framework_enable_auto_description', Data\Plugin::get_option( 'auto_description' ), $args ); -
apply_filters( 'the_seo_framework_exploitable_query_endpoints', [ 'numeric' => [ 'page_id', 'attachment_id', 'year', 'monthnum', 'day', 'w', 'm', 'p', 'paged', 'hour', 'minute', 'second', 'subpost_id', ], 'numeric_array' => [ 'cat', 'author', ], 'requires_s' => [ 'sentence', ], 'not_home_as_page' => array_keys( $GLOBALS['wp']->query_vars ?? [] ), 'should_be_404' => [ 'sitemap', 'sitemap-subtype', ], ] ); -
apply_filters_deprecated( 'the_seo_framework_fallback_archive_description_excerpt', [ '', $object ], '5.1.0 of The SEO Framework', 'the_seo_framework_get_excerpt' ); -
apply_filters( 'the_seo_framework_feed_metabox', true ); -
do_action( 'the_seo_framework_feed_metabox_after' ); -
do_action( 'the_seo_framework_feed_metabox_before' ); -
apply_filters( 'the_seo_framework_feed_source_link_text', \_x( 'Source', 'The content source', 'autodescription' ) ); -
do_action( 'the_seo_framework_flex_tab_content', [ 'id' => $id, 'tab' => $tab, 'args' => $args, ] ); -
apply_filters( 'the_seo_framework_forced_supported_post_types', array_values( \get_post_types( [ 'public' => true, '_builtin' => true, ] ) ) ); -
apply_filters( 'the_seo_framework_forced_supported_taxonomies', array_values( \get_taxonomies( [ 'public' => true, '_builtin' => true, ] ) ) ); -
the_seo_framework_front_init
actiondo_action( 'the_seo_framework_front_init' ); -
do_action( 'the_seo_framework_general_metabox_after' ); -
do_action( 'the_seo_framework_general_metabox_before' ); -
apply_filters( 'the_seo_framework_general_settings_tabs', $tabs ); -
apply_filters_deprecated( 'the_seo_framework_generated_archive_excerpt', [ '', $object ], '5.1.0 of The SEO Framework', 'the_seo_framework_get_excerpt' ); -
apply_filters( 'the_seo_framework_generated_archive_title_items', [ $title, $prefix, $title_without_prefix, ], $object, $title, $title_without_prefix, $prefix ); -
apply_filters( 'the_seo_framework_generated_description', $desc, $args, $type ); -
apply_filters( 'the_seo_framework_generated_image_details', $single ? array_filter( [ self::generate_generated_image_details( $args, $context )->current() ] ) : [ ...self::generate_generated_image_details( $args, $context ) ], $args, $single, $context ); -
apply_filters( 'the_seo_framework_get_excerpt', isset( $args ) ? self::get_excerpt_from_args( $args ) : self::get_excerpt_from_query(), $args ); -
apply_filters( 'the_seo_framework_get_options', $is_headless ? Plugin\Setup::get_default_options() : ( \get_option( \THE_SEO_FRAMEWORK_SITE_OPTIONS ) ?: Plugin\Setup::get_default_options() ), \THE_SEO_FRAMEWORK_SITE_OPTIONS, $is_headless ); -
apply_filters( 'the_seo_framework_get_post_type_archive_meta_defaults', [ 'doctitle' => '', 'title_no_blog_name' => 0, 'description' => '', 'og_title' => '', 'og_description' => '', 'tw_title' => '', 'tw_description' => '', 'tw_card_type' => '', 'social_image_url' => '', 'social_image_id' => 0, 'canonical' => '', 'noindex' => 0, 'nofollow' => 0, 'noarchive' => 0, 'redirect' => '', ], $post_type ?: Query::get_current_post_type() ); -
apply_filters( 'the_seo_framework_home_metabox', true ); -
do_action( 'the_seo_framework_homepage_metabox_after' ); -
do_action( 'the_seo_framework_homepage_metabox_before' ); -
apply_filters( 'the_seo_framework_homepage_settings_tabs', $tabs ); -
apply_filters( 'the_seo_framework_image_generation_params', [ 'size' => 'full', 'multi' => true, 'cbs' => $cbs ?? [], 'fallback' => $fallback ?? [], ], $args, $context ); -
the_seo_framework_indicator
filterapply_filters( 'the_seo_framework_indicator', true ); -
apply_filters( 'the_seo_framework_indicator_timing', true ); -
the_seo_framework_init
actiondo_action( 'the_seo_framework_init' ); -
apply_filters( 'the_seo_framework_input_guidelines', [ 'title' => [ 'search' => [ 'chars' => [ 'lower' => (int) ( 25 * $c_adjust ), 'goodLower' => (int) ( 35 * $c_adjust ), 'goodUpper' => (int) ( 65 * $c_adjust ), 'upper' => (int) ( 75 * $c_adjust ), ], 'pixels' => [ 'lower' => (int) ( 200 * $p_adjust ), 'goodLower' => (int) ( 280 * $p_adjust ), 'goodUpper' => (int) ( 520 * $p_adjust ), 'upper' => (int) ( 600 * $p_adjust ), ], ], 'opengraph' => [... ); -
the_seo_framework_is_product
filterapply_filters( 'the_seo_framework_is_product', false, $post ); -
apply_filters( 'the_seo_framework_is_product_admin', false ); -
the_seo_framework_is_shop
filterapply_filters( 'the_seo_framework_is_shop', false, $post ); -
apply_filters( 'the_seo_framework_is_singular_archive', self::is_blog_as_page( $id ), $id ); -
apply_filters( 'the_seo_framework_kill_core_robots', true ); -
the_seo_framework_load
filterapply_filters( 'the_seo_framework_load', true ); -
the_seo_framework_loaded
actiondo_action( 'the_seo_framework_loaded' ); -
apply_filters( 'the_seo_framework_max_content_feed_length', 400 ); -
apply_filters( 'the_seo_framework_meta_generator_pools', isset( $remove_pools ) ? array_diff( $generator_pools, $remove_pools ) : $generator_pools ); -
apply_filters( 'the_seo_framework_meta_generators', array_merge( ...$generators_queue ), $generator_pools ); -
apply_filters( 'the_seo_framework_meta_render_data', $tags_render_data = &Tags::tags_render_data(), $tag_generators ); -
apply_filters( 'the_seo_framework_metabox_context', 'normal' ); -
apply_filters( 'the_seo_framework_metabox_priority', 'high' ); -
apply_filters( 'the_seo_framework_overwrite_titles', true ); -
the_seo_framework_post_meta
filterapply_filters( 'the_seo_framework_post_meta', array_merge( $defaults, $meta ), $post_id, $is_headless ); -
apply_filters( 'the_seo_framework_post_meta_defaults', [ '_genesis_title' => '', '_tsf_title_no_blogname' => 0, '_genesis_description' => '', '_genesis_canonical_uri' => '', 'redirect' => '', '_social_image_url' => '', '_social_image_id' => 0, '_genesis_noindex' => 0, '_genesis_nofollow' => 0, '_genesis_noarchive' => 0, 'exclude_local_search' => 0, 'exclude_from_archive' => 0, '_open_graph_title' => '', '_open_graph_description' => '', '_twitter_ti... ); -
do_action( 'the_seo_framework_post_type_archive_after' ); -
do_action( 'the_seo_framework_post_type_archive_before' ); -
apply_filters( 'the_seo_framework_post_type_archive_meta', array_merge( static::get_default_meta( $post_type ), $meta, ), $post_type, $is_headless ); -
apply_filters( 'the_seo_framework_post_type_archive_metabox', true ); -
apply_filters( 'the_seo_framework_post_type_archive_settings_tabs', $tabs, $post_type ); -
apply_filters( 'the_seo_framework_post_type_disabled', Data\Plugin::get_option( 'disabled_post_types', $post_type ), $post_type ); -
apply_filters( 'the_seo_framework_pre_get_document_title', Meta\Title::get_title(), Query::get_the_real_id() ); -
do_action( 'the_seo_framework_pre_page_inpost_box' ); -
do_action( 'the_seo_framework_pre_page_inpost_general_tab' ); -
do_action( 'the_seo_framework_pre_page_inpost_social_tab' ); -
do_action( 'the_seo_framework_pre_page_inpost_visibility_tab' ); -
do_action( 'the_seo_framework_pre_seo_settings' ); -
do_action( 'the_seo_framework_pre_tt_inpost_box' ); -
apply_filters( 'the_seo_framework_preferred_url_scheme', $scheme ); -
apply_filters( 'the_seo_framework_primary_term', $primary_term, $post_id, $taxonomy, $is_headless ); -
do_action( 'the_seo_framework_pro_page_inpost_box' ); -
do_action( 'the_seo_framework_pro_page_inpost_general_tab' ); -
do_action( 'the_seo_framework_pro_page_inpost_social_tab' ); -
do_action( 'the_seo_framework_pro_page_inpost_visibility_tab' ); -
do_action( 'the_seo_framework_pro_seo_settings' ); -
do_action( 'the_seo_framework_pro_tt_inpost_box' ); -
apply_filters_deprecated( 'the_seo_framework_pta_description_excerpt', [ $object->description ?? '', $object, ], '5.1.0 of The SEO Framework', 'the_seo_framework_get_excerpt' ); -
apply_filters( 'the_seo_framework_query_supports_seo', $supported ); -
the_seo_framework_real_id
filterapply_filters( 'the_seo_framework_real_id', \is_feed() ? \get_the_id() : 0 ); -
apply_filters( 'the_seo_framework_redirect_status_code', 301 ); -
apply_filters( 'the_seo_framework_register_scripts', $register ); -
apply_filters( 'the_seo_framework_robots_blocked_user_agents', $agents ?? [], $type ); -
apply_filters_deprecated( 'the_seo_framework_robots_disallow_queries', [ false ], '5.1.0 of The SEO Framework', 'the_seo_framework_robots_txt_sections' ); -
apply_filters( 'the_seo_framework_robots_metabox', true ); -
do_action( 'the_seo_framework_robots_metabox_after' ); -
do_action( 'the_seo_framework_robots_metabox_before' ); -
apply_filters( 'the_seo_framework_robots_settings_tabs', $tabs ); -
apply_filters_deprecated( 'the_seo_framework_robots_txt_pre', [ '' ], '5.1.0 of The SEO Framework', 'the_seo_framework_robots_txt_sections' ); -
apply_filters_deprecated( 'the_seo_framework_robots_txt_pro', [ '' ], '5.1.0 of The SEO Framework', 'the_seo_framework_robots_txt_sections' ); -
apply_filters( 'the_seo_framework_robots_txt_sections', [ 'deprecated_before' => [ 'raw' => (string) \apply_filters_deprecated( 'the_seo_framework_robots_txt_pre', [ '' ], '5.1.0 of The SEO Framework', 'the_seo_framework_robots_txt_sections', ), 'priority' => 0, ], 'default' => [ 'user-agent' => [ '*' ], 'disallow' => [ "$site_path/wp-admin/", $disallow_queries ], 'allow' => [ "$site_path/wp-admin/admin-ajax.php" ], ], 'block_ai' => Data\Plugin::get... ); -
apply_filters( 'the_seo_framework_save_post_meta', array_merge( static::get_default_meta( $post_id ), $data, ), $post_id ); -
apply_filters( 'the_seo_framework_save_term_data', array_merge( static::get_default_meta( $term_id ), $data, ), $term_id ); -
apply_filters( 'the_seo_framework_save_user_data', array_merge( static::get_default_meta( $user_id ), $data, ), $user_id ); -
apply_filters( 'the_seo_framework_save_user_preference', array_merge( static::get_default_preference( $user_id ), $data, ), $user_id ); -
apply_filters( 'the_seo_framework_schema_entity_builders', array_merge( ...$builders_queue ), $args ); -
apply_filters( 'the_seo_framework_schema_metabox', true ); -
do_action( 'the_seo_framework_schema_metabox_after' ); -
do_action( 'the_seo_framework_schema_metabox_before' ); -
apply_filters( 'the_seo_framework_schema_settings_tabs', $tabs ); -
the_seo_framework_scripts
filterapply_filters( 'the_seo_framework_scripts', Arrays::flatten_list( $scripts ), Registry::class, Loader::class ); -
apply_filters( 'the_seo_framework_seo_column_keys_order', $order_keys ); -
apply_filters( 'the_seo_framework_seobox_output', true ); -
apply_filters( 'the_seo_framework_separator_list', [ 'hyphen' => '-', 'pipe' => '|', 'ndash' => '–', 'mdash' => '—', 'bull' => '•', 'middot' => '·', 'lsaquo' => '‹', 'rsaquo' => '›', 'frasl' => '⁄', 'laquo' => '«', 'raquo' => '»', 'le' => '≤', 'ge' => '≥', 'lt' => '<', 'gt' => '>', ] ); -
apply_filters( 'the_seo_framework_set_noindex_header', true ); -
do_action( 'the_seo_framework_setting_notices' ); -
apply_filters( 'the_seo_framework_settings_update_sanitizers', self::$sanitizers ); -
apply_filters( 'the_seo_framework_shortcode_based_page_builder_active', ( \defined( 'ET_BUILDER_VERSION' ) || \defined( 'WPB_VC_VERSION' ) || \defined( 'BRICKS_VERSION' ) ) ); -
apply_filters( 'the_seo_framework_sitemap_additional_urls', [], $args ); -
apply_filters( 'the_seo_framework_sitemap_base_path', rtrim( Meta\URI\Utils::get_site_path(), '/', ) ); -
apply_filters( 'the_seo_framework_sitemap_endpoint_list', [ 'base' => [ 'lock_id' => 'base', 'cache_id' => 'base', 'endpoint' => 'sitemap.xml', 'regex' => '/^sitemap\.xml/i', 'callback' => [ self::class, 'output_base_sitemap' ], 'robots' => true, ], 'index' => [ 'lock_id' => 'base', 'cache_id' => 'base', 'endpoint' => 'sitemap_index.xml', 'regex' => '/^sitemap_index\.xml/i', 'callback' => [ self::class, 'output_base_sitemap' ], 'robots' => false, ], '... ); -
apply_filters( 'the_seo_framework_sitemap_exclude_ids', [] ); -
apply_filters( 'the_seo_framework_sitemap_exclude_term_ids', [] ); -
apply_filters( 'the_seo_framework_sitemap_exclude_user_ids', [] ); -
do_action( 'the_seo_framework_sitemap_header', $sitemap_id ); -
apply_filters( 'the_seo_framework_sitemap_hpt_query_args', [ 'posts_per_page' => $_hierarchical_posts_limit + \count( $_exclude_ids ), 'post_type' => $hierarchical_post_types, 'orderby' => 'modified', 'order' => 'DESC', 'post_status' => 'publish', 'has_password' => false, 'fields' => 'ids', 'cache_results' => false, 'no_found_rows' => true, ] ); -
apply_filters( 'the_seo_framework_sitemap_items', array_merge( $hierarchical_post_ids, $non_hierarchical_post_ids ), $hierarchical_post_ids, $non_hierarchical_post_ids ); -
apply_filters( 'the_seo_framework_sitemap_metabox', true ); -
apply_filters( 'the_seo_framework_sitemap_nhpt_query_args', [ 'posts_per_page' => Sitemap\Utils::get_sitemap_post_limit( 'nonhierarchical' ), 'post_type' => $non_hierarchical_post_types, 'orderby' => 'modified', 'order' => 'DESC', 'post_status' => 'publish', 'has_password' => false, 'fields' => 'ids', 'cache_results' => false, 'no_found_rows' => true, ] ); -
apply_filters( 'the_seo_framework_sitemap_post_limit', ( Data\Plugin::get_option( 'sitemap_query_limit' ) ?: Data\Plugin\Setup::get_default_option( 'sitemap_query_limit' ) ), 'hierarchical' === $type ); -
apply_filters( 'the_seo_framework_sitemap_schemas', $schemas ); -
apply_filters( 'the_seo_framework_sitemap_settings_language_endpoints', [] ); -
apply_filters( 'the_seo_framework_sitemap_styles', $styles ); -
apply_filters( 'the_seo_framework_sitemap_supported_post_types', $post_types ); -
apply_filters( 'the_seo_framework_sitemap_timestamp', true ); -
do_action( 'the_seo_framework_sitemap_transient_cleared', [] ); -
do_action( 'the_seo_framework_sitemaps_metabox_after' ); -
do_action( 'the_seo_framework_sitemaps_metabox_before' ); -
apply_filters( 'the_seo_framework_sitemaps_settings_tabs', $tabs ); -
apply_filters( 'the_seo_framework_social_metabox', true ); -
do_action( 'the_seo_framework_social_metabox_after' ); -
do_action( 'the_seo_framework_social_metabox_before' ); -
apply_filters( 'the_seo_framework_social_settings_tabs', $tabs ); -
apply_filters( 'the_seo_framework_supported_post_type', ( $post_type && ! self::is_disabled( $post_type ) && \in_array( $post_type, self::get_all_public(), true ) ), $post_type ); -
apply_filters( 'the_seo_framework_supported_post_type_archive', ( $post_type && self::is_supported( $post_type ) && \in_array( $post_type, self::get_public_pta(), true ) ), $post_type ); -
apply_filters( 'the_seo_framework_supported_taxonomy', ( $taxonomy && ! self::is_disabled( $taxonomy ) && \in_array( $taxonomy, self::get_all_public(), true ) ), $taxonomy ); -
apply_filters( 'the_seo_framework_supported_twitter_card_types', [ 'summary', 'summary_large_image', ] ); -
apply_filters( 'the_seo_framework_supported_user', ( $user_id && Data\User::user_has_author_info_cap_on_network( $user_id ) ), $user_id ); -
do_action( 'the_seo_framework_tab_content', [ 'id' => $id, 'tab' => $tab, 'args' => $args, ] ); -
apply_filters( 'the_seo_framework_taxonomy_disabled', $disabled, $taxonomy ); -
the_seo_framework_term_meta
filterapply_filters( 'the_seo_framework_term_meta', array_merge( static::get_default_meta( $term_id ), $meta, ), $term_id, $is_headless ); -
apply_filters( 'the_seo_framework_term_meta_defaults', [ 'doctitle' => '', 'title_no_blog_name' => 0, 'description' => '', 'og_title' => '', 'og_description' => '', 'tw_title' => '', 'tw_description' => '', 'tw_card_type' => '', 'social_image_url' => '', 'social_image_id' => 0, 'canonical' => '', 'noindex' => 0, 'nofollow' => 0, 'noarchive' => 0, 'redirect' => '', ], $term_id ?: Query::get_the_real_id() ); -
apply_filters( 'the_seo_framework_term_metabox_priority', 0 ); -
apply_filters( 'the_seo_framework_timestamp_format', $get_time ? 'Y-m-d\TH:i:sP' : 'Y-m-d', $get_time ); -
apply_filters( 'the_seo_framework_title_metabox', true ); -
do_action( 'the_seo_framework_title_metabox_after' ); -
do_action( 'the_seo_framework_title_metabox_before' ); -
apply_filters( 'the_seo_framework_title_separator', ( Title\Utils::get_separator_list()[ Data\Plugin::get_option( 'title_separator' ) ] ?? '-' ) ); -
apply_filters( 'the_seo_framework_title_settings_tabs', $tabs ); -
the_seo_framework_upgraded
actiondo_action( 'the_seo_framework_upgraded', (string) $previous_version, (string) $current_version ); -
apply_filters( 'the_seo_framework_use_archive_prefix', ! Data\Plugin::get_option( 'title_rem_prefixes' ), $object ?? \get_queried_object() ); -
apply_filters( 'the_seo_framework_use_title_branding', $use, $args, (bool) $social ); -
the_seo_framework_user_meta
filterapply_filters( 'the_seo_framework_user_meta', array_merge( static::get_default_meta( $user_id ), $meta, ), $user_id, $is_headless['user'] ); -
apply_filters( 'the_seo_framework_user_meta_defaults', [ 'facebook_page' => '', 'fediverse_page' => '', 'fediverse_page_url' => '', 'twitter_page' => '', 'doctitle' => '', 'title_no_blog_name' => 0, 'description' => '', 'og_title' => '', 'og_description' => '', 'tw_title' => '', 'tw_description' => '', 'tw_card_type' => '', 'social_image_url' => '', 'social_image_id' => 0, 'canonical' => '', 'noindex' => 0, 'nofollow' => 0, 'noarchive' => 0, 'redir... ); -
apply_filters( 'the_seo_framework_user_preference_defaults', [ 'counter_type' => 3, ], $user_id ?: Query::get_current_user_id() ); -
apply_filters( 'the_seo_framework_webmaster_metabox', true ); -
do_action( 'the_seo_framework_webmaster_metabox_after' ); -
do_action( 'the_seo_framework_webmaster_metabox_before' ); -
do_action( 'the_seo_framework_xsl_content' ); -
do_action( 'the_seo_framework_xsl_description' ); -
the_seo_framework_xsl_head
actiondo_action( 'the_seo_framework_xsl_head' ); -
apply_filters( 'wp_ajax_cropped_attachment_id', $attachment_id, $context ); -
apply_filters( 'wp_ajax_cropped_attachment_metadata', $metadata );
Generated from The SEO Framework'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: