Yoast SEO icon
SEO

Yoast SEO hooks reference

  • By Yoast
  • v28.8
  • Updated

Yoast SEO 28.8 has 52 actions and 310 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.

functions.phpyour child theme
// Run your own code when Yoast SEO fires an action
add_action( 'wpseo_indexables_unindexed_calculated', function( $arg1, $count ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Yoast SEO is about to use
add_filter( 'wpseo_frontend_presentation', function( $presentation, $context ) {
	// Change $presentation here.
	return $presentation;
}, 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

  • src/deprecated/frontend/breadcrumbs.php line 135 · used in 7 places
    /**
     * This filter is documented in src/integrations/front-end-integration.php
     */
    apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
  • inc/class-wpseo-meta.php line 406 · used in 5 places
    /**
     * This filter is documented in inc/options/class-wpseo-option-titles.php
     */
    apply_filters( 'wpseo_schema_article_types', Schema_Types::ARTICLE_TYPES );
  • admin/filters/class-cornerstone-filter.php line 143 · used in 3 places
    /**
     * Filter: 'wpseo_cornerstone_post_types' - Filters post types to exclude the
     * cornerstone feature for.
     */
    apply_filters( 'wpseo_cornerstone_post_types', parent::get_post_types() );
  • src/builders/indexable-link-builder.php line 335 · used in 3 places
    /**
     * The `wpseo_force_creating_and_using_attachment_indexables` filter is
     * documented in indexable-link-builder.php
     */
    apply_filters( 'wpseo_force_creating_and_using_attachment_indexables', false );
  • src/actions/indexing/abstract-indexing-action.php line 99 · used in 3 places
    /**
     * Action: 'wpseo_indexables_unindexed_calculated' - sets an option to
     * timestamp when there are no unindexed indexables left.
     */
    do_action( 'wpseo_indexables_unindexed_calculated', static::UNINDEXED_COUNT_TRANSIENT, $count );
  • inc/sitemaps/class-author-sitemap-provider.php line 198 · used in 3 places
    /**
     * This filter is documented at
     * inc/sitemaps/class-post-type-sitemap-provider.php
     */
    apply_filters( 'wpseo_sitemap_entry', $url, 'user', $user );
  • inc/class-wpseo-admin-bar-menu.php line 832 · used in 3 places
    /**
     * Filter: 'wpseo_use_page_analysis' Determines if the analysis should be
     * enabled.
     */
    apply_filters( 'wpseo_use_page_analysis', true );
  • src/presenters/rel-next-presenter.php line 70 · used in 2 places
    /**
     * Filter: 'wpseo_adjacent_rel_url' - Allow filtering of the rel next URL put
     * out by Yoast SEO.
     */
    apply_filters( 'wpseo_adjacent_rel_url', $this->presentation->rel_next, 'next', $this->presentation );
  • admin/class-admin-init.php line 139 · used in 2 places
    /**
     * Filter: 'wpseo_always_register_metaboxes_on_admin' - Allow developers to
     * change whether the WPSEO metaboxes are only registered on the typical pages
     * (lean loading) or always registered when in admin.
     */
    apply_filters( 'wpseo_always_register_metaboxes_on_admin', false );
  • src/presenters/debug/marker-close-presenter.php line 23 · used in 2 places
    /**
     * Filter: 'wpseo_debug_markers' - Allow disabling the debug markers.
     */
    apply_filters( 'wpseo_debug_markers', true );
  • admin/tracking/class-tracking.php line 225 · used in 2 places
    /**
     * Filter: 'wpseo_enable_tracking' - Enables the data tracking of Yoast SEO
     * Premium and add-ons.
     */
    apply_filters( 'wpseo_enable_tracking', false );
  • src/images/Application/image-content-extractor.php line 89 · used in 2 places
    /**
     * Filter 'wpseo_image_attribute_containing_id' - Allows filtering what
     * attribute will be used to extract image IDs from.
     */
    apply_filters( 'wpseo_image_attribute_containing_id', 'class' );
  • src/integrations/admin/first-time-configuration-integration.php line 167 · used in 2 places
    /**
     * Filter: 'wpseo_indexing_data' Filter to adapt the data used in the indexing
     * process.
     */
    apply_filters( 'wpseo_indexing_data', $data );
  • src/presenters/schema-presenter.php line 35 · used in 2 places
    /**
     * Filter: 'wpseo_json_ld_output' - Allows disabling Yoast's schema output
     * entirely.
     */
    apply_filters( 'wpseo_json_ld_output', $deprecated_data, '' );
  • admin/class-primary-term-admin.php line 205 · used in 2 places
    /**
     * Filters which taxonomies for which the user can choose the primary term.
     */
    apply_filters( 'wpseo_primary_term_taxonomies', $all_taxonomies, $post_type, $all_taxonomies );
  • src/context/meta-tags-context.php line 571 · used in 2 places
    /**
     * Filter: 'wpseo_schema_article_type' - Allow changing the Article type.
     */
    apply_filters( 'wpseo_schema_article_type', $additional_type, $this->indexable );
  • src/generators/schema/author.php line 87 · used in 2 places
    /**
     * Filter: 'wpseo_schema_person_user_id' - Allows filtering of user ID used for
     * person output.
     */
    apply_filters( 'wpseo_schema_person_user_id', $user_id );
  • inc/sitemaps/class-taxonomy-sitemap-provider.php line 83 · used in 2 places
    /**
     * Filter the setting of excluding empty terms from the XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_exclude_empty_terms', true, $taxonomy_names );
  • inc/sitemaps/class-taxonomy-sitemap-provider.php line 94 · used in 2 places
    /**
     * Filter the setting of excluding empty terms from the XML sitemap for a
     * specific taxonomy.
     */
    apply_filters( 'wpseo_sitemap_exclude_empty_terms_taxonomy', $hide_empty, $taxonomy_name );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 47 · used in 2 places
    /**
     * Filter - Allows excluding images from the XML sitemap.
     */
    apply_filters( 'wpseo_xml_sitemap_include_images', true );
  • inc/class-wpseo-utils.php line 716 · used in 2 places
    /**
     * Filter the Yoast SEO development mode.
     */
    apply_filters( 'yoast_seo_development_mode', $development_mode );
  • src/ai/http-request/infrastructure/api-client.php line 124 · used in 2 places
    /**
     * Filter: 'Yoast\WP\SEO\ai_api_url' - Replaces the default URL for the AI API
     * with a custom one.
     */
    apply_filters( 'Yoast\WP\SEO\ai_api_url', $this->base_url );
  • src/ai/http-request/infrastructure/api-client.php line 141 · used in 2 places
    /**
     * Filter: 'Yoast\WP\SEO\ai_suggestions_timeout' - Replaces the default timeout
     * with a custom one, for testing purposes.
     */
    apply_filters( 'Yoast\WP\SEO\ai_suggestions_timeout', 60 );
  • src/routes/workouts-route.php line 81 · used in 2 places
    /**
     * Filter: 'Yoast\WP\SEO\workouts_options' - Allows adding workouts options by
     * the add-ons.
     */
    apply_filters( 'Yoast\WP\SEO\workouts_options', $workouts_option );
  • admin/capabilities/class-abstract-capability-manager.php line 82
    /**
     * Filter: Allow changing roles that a capability is added to.
     */
    apply_filters( "{$capability}_roles", $roles );
  • inc/class-wpseo-meta.php line 280
    /**
     * Allow add-on plugins to register their meta fields for management by this
     * class. Calls to add_filter() must be made before plugins_loaded prio 14.
     */
    apply_filters( 'add_extra_wpseo_meta_fields', [] );
  • inc/class-wpseo-custom-fields.php line 43
    /**
     * Filters the number of custom fields to retrieve for the drop-down in the
     * Custom Fields meta box.
     */
    apply_filters( 'postmeta_form_limit', 30 );
  • inc/class-wpseo-utils.php line 170
    /**
     * Filter a sanitized text field string.
     */
    apply_filters( 'sanitize_text_field', $filtered, $value );
  • src/helpers/asset-helper.php line 96
    /**
     * This filter is documented in wp-includes/class.wp-scripts.php
     */
    apply_filters( 'script_loader_src', $src, $handle );
  • src/dashboard/infrastructure/taxonomies/taxonomies-collector.php line 45
    /**
     * Filter: 'wpseo_{$content_type}_filtering_taxonomy' - Allows overriding which
     * taxonomy filters the content type.
     */
    apply_filters( "wpseo_{$content_type}_filtering_taxonomy", '' );
  • src/helpers/post-type-helper.php line 85
    /**
     * Filter: 'wpseo_accessible_post_types' - Allow changing the accessible post
     * types.
     */
    apply_filters( 'wpseo_accessible_post_types', $post_types );
  • inc/class-wpseo-admin-bar-menu.php line 215
    /**
     * Adds a submenu item in the top of the adminbar.
     */
    do_action( 'wpseo_add_adminbar_submenu', $wp_admin_bar, self::MENU_IDENTIFIER );
  • src/analytics/application/to-be-cleaned-indexables-collector.php line 82
    /**
     * Action: Adds the possibility to add additional to be cleaned objects.
     */
    do_action( 'wpseo_add_cleanup_counts_to_indexable_bucket', $to_be_cleaned_indexable_bucket );
  • src/generators/open-graph-image-generator.php line 103
    /**
     * Filter: wpseo_add_opengraph_additional_images - Allows to add additional
     * images to the Open Graph tags.
     */
    apply_filters( 'wpseo_add_opengraph_additional_images', $image_container );
  • src/generators/open-graph-image-generator.php line 89
    /**
     * Filter: wpseo_add_opengraph_images - Allow developers to add images to the
     * Open Graph tags.
     */
    apply_filters( 'wpseo_add_opengraph_images', $image_container );
  • src/user-meta/application/additional-contactmethods-collector.php line 43
    /**
     * Filter: Adds the possibility to add more additional contactmethods in the
     * user profile.
     */
    apply_filters( 'wpseo_additional_contactmethods', $additional_contactmethods );
  • src/ai/authentication/application/ai-request-sender-factory.php line 126
    /**
     * Filter: 'wpseo_ai_auth_method' - Pin a specific AI auth strategy for QA /
     * staged rollout.
     */
    apply_filters( 'wpseo_ai_auth_method', null, $user );
  • src/actions/importing/aioseo/abstract-aioseo-settings-importing-action.php line 239
    /**
     * Filter 'wpseo_aioseo_<identifier>_import_cursor' - Allow filtering the value
     * of the aioseo settings import cursor.
     */
    apply_filters( "wpseo_aioseo_{$this->get_type()}_import_cursor", $cursor );
  • src/actions/importing/aioseo/abstract-aioseo-settings-importing-action.php line 264
    /**
     * Filter 'wpseo_aioseo_<identifier>_indexation_limit' - Allow filtering the
     * number of settings imported during each importing pass.
     */
    apply_filters( "wpseo_aioseo_{$this->get_type()}_indexation_limit", 25 );
  • src/actions/importing/aioseo/aioseo-cleanup-action.php line 165
    /**
     * Filter 'wpseo_aioseo_cleanup_limit' - Allow filtering the number of posts
     * indexed during each indexing pass.
     */
    apply_filters( 'wpseo_aioseo_cleanup_limit', 25 );
  • src/actions/importing/aioseo/aioseo-posts-importing-action.php line 451
    /**
     * Filter 'wpseo_aioseo_post_cursor' - Allow filtering the value of the aioseo
     * post import cursor.
     */
    apply_filters( 'wpseo_aioseo_post_import_cursor', $cursor );
  • src/actions/importing/aioseo/aioseo-posts-importing-action.php line 385
    /**
     * Filter 'wpseo_aioseo_post_indexation_limit' - Allow filtering the number of
     * posts indexed during each indexing pass.
     */
    apply_filters( 'wpseo_aioseo_post_indexation_limit', 25 );
  • src/actions/importing/aioseo/aioseo-validate-data-action.php line 247
    /**
     * Filter 'wpseo_aioseo_cleanup_limit' - Allow filtering the number of
     * validations during each action pass.
     */
    apply_filters( 'wpseo_aioseo_validation_limit', 25 );
  • inc/class-wpseo-utils.php line 48
    /**
     * Filter: 'wpseo_allow_system_file_edit' - Allow developers to change whether
     * the editing of .htaccess and robots.txt is allowed.
     */
    apply_filters( 'wpseo_allow_system_file_edit', $allowed );
  • src/actions/alert-dismissal-action.php line 201
    /**
     * Filter: 'wpseo_allowed_dismissable_alerts' - List of allowed dismissable
     * alerts.
     */
    apply_filters( 'wpseo_allowed_dismissable_alerts', [] );
  • src/integrations/front-end/redirects.php line 224
    /**
     * Allows the developer to change the target redirection URL for attachments.
     */
    apply_filters( 'wpseo_attachment_redirect_url', \wp_get_attachment_url( \get_queried_object_id() ), \get_queried_object() );
  • src/helpers/author-archive-helper.php line 49
    /**
     * Filters the array of post types that are shown on an author's archive.
     */
    apply_filters( 'wpseo_author_archive_post_types', [ 'post' ] );
  • src/presenters/breadcrumbs-presenter.php line 107
    /**
     * Filter: 'wpseo_breadcrumb_output' - Allow changing the HTML output of the
     * Yoast SEO breadcrumbs class.
     */
    apply_filters( 'wpseo_breadcrumb_output', $output, $this->presentation );
  • src/presenters/breadcrumbs-presenter.php line 208
    /**
     * Filter: 'wpseo_breadcrumb_output_class' - Allow changing the HTML class on
     * the Yoast SEO breadcrumbs wrapper element.
     */
    apply_filters( 'wpseo_breadcrumb_output_class', '' );
  • src/presenters/breadcrumbs-presenter.php line 183
    /**
     * Filter: 'wpseo_breadcrumb_output_id' - Allow changing the HTML ID on the
     * Yoast SEO breadcrumbs wrapper element.
     */
    apply_filters( 'wpseo_breadcrumb_output_id', '' );
  • inc/sitemaps/class-sitemaps.php line 363
    /**
     * Filter the type of sitemap to build.
     */
    apply_filters( 'wpseo_build_sitemap_post_type', $type );
  • src/bulk-editor/infrastructure/content-types/content-types-collector.php line 89
    /**
     * Filter: 'wpseo_bulk_editor_excluded_post_types' - Allows excluding post
     * types from the bulk editor.
     */
    apply_filters( 'wpseo_bulk_editor_excluded_post_types', [ 'attachment' ] );
  • src/bulk-editor/infrastructure/posts/post-context-trait.php line 32
    /**
     * Filter: 'wpseo_bulk_editor_post_context' - Allows add-ons to supply extra
     * context shown alongside a post in the bulk editor table (e.g. a product
     * short description for WooCommerce products).
     */
    apply_filters( 'wpseo_bulk_editor_post_context', [], $post_id, $content_type );
  • src/bulk-editor/infrastructure/posts/post-images-trait.php line 32
    /**
     * Filter: 'wpseo_bulk_editor_post_images' - Allows add-ons to supply the
     * images shown for a post.
     */
    apply_filters( 'wpseo_bulk_editor_post_images', [], $post_id, $content_type );
  • src/presenters/canonical-presenter.php line 49
    /**
     * Filter: 'wpseo_canonical' - Allow filtering of the canonical URL put out by
     * Yoast SEO.
     */
    apply_filters( 'wpseo_canonical', $this->presentation->canonical, $this->presentation );
  • admin/class-meta-columns.php line 462
    /**
     * Adapt the active applicable filters on the posts overview.
     */
    apply_filters( 'wpseo_change_applicable_filters', $active_filters );
  • admin/class-meta-columns.php line 441
    /**
     * Adapt the meta query used to filter the post overview on keyphrase.
     */
    apply_filters( 'wpseo_change_keyphrase_filter_in_request', $this->get_keyword_filter( $current_keyword_filter ), $current_keyword_filter );
  • admin/class-meta-columns.php line 488
    /**
     * Adapt the order by part of the query on the posts overview.
     */
    apply_filters( 'wpseo_change_order_by', $order_by, $order_by_column );
  • lib/orm.php line 2257
    /**
     * Filter: 'wpseo_chunk_bulked_insert_queries' - Allow filtering the chunk size
     * of each bulked INSERT query.
     */
    apply_filters( 'wpseo_chunk_bulk_insert_queries', 100 );
  • src/integrations/cleanup-integration.php line 184
    /**
     * Filter: Adds the possibility to add additional indexable cleanup functions.
     */
    apply_filters( 'wpseo_cleanup_tasks', [] );
  • admin/metabox/class-metabox.php line 326
    /**
     * Filter: 'wpseo_content_meta_section_content' - Allow filtering the metabox
     * content before outputting.
     */
    apply_filters( 'wpseo_content_meta_section_content', '' );
  • src/integrations/admin/background-indexing-integration.php line 230
    /**
     * Filter: 'wpseo_cron_indexing_limit_size' - Adds the possibility to limit the
     * number of items that are indexed when in cron action.
     */
    apply_filters( 'wpseo_cron_indexing_limit_size', 15 );
  • src/integrations/cleanup-integration.php line 241
    /**
     * Filter: Adds the possibility to limit the number of items that are deleted
     * from the database on cleanup.
     */
    apply_filters( 'wpseo_cron_query_limit_size', 1000 );
  • inc/class-wpseo-custom-fields.php line 55
    /**
     * Filter: 'wpseo_custom_fields_pre_query' - Filters the custom-fields lookup
     * before the database query runs.
     */
    apply_filters( 'wpseo_custom_fields_pre_query', null, $limit );
  • src/dashboard/user-interface/time-based-seo-metrics/time-based-seo-metrics-route.php line 292
    /**
     * Filter: 'wpseo_custom_site_kit_base_date' - Allow the base date for Site Kit
     * requests to be dynamically set.
     */
    apply_filters( 'wpseo_custom_site_kit_base_date', 'now' );
  • inc/class-wpseo-utils.php line 939
    /**
     * Filter the Yoast SEO development mode.
     */
    apply_filters( 'wpseo_debug_json_data', $data );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 576
    /**
     * Filter to disable priming the post, term and featured-image caches for the
     * sitemap.
     */
    apply_filters( 'wpseo_disable_xml_sitemap_cache_priming', false );
  • inc/sitemaps/class-sitemaps.php line 395
    /**
     * Fires custom handler, if hooked to generate sitemap for the type.
     */
    do_action( "wpseo_do_sitemap_{$type}" );
  • admin/class-admin-editor-specific-replace-vars.php line 64
    /**
     * Filter: Adds the possibility to add extra editor specific replacement
     * variables.
     */
    apply_filters( 'wpseo_editor_specific_replace_vars', $this->replacement_variables );
  • admin/metabox/class-metabox.php line 314
    /**
     * Filter: 'wpseo_enable_ai_content_planner_inline_banner' - Allows hiding the
     * AI Content Planner inline banner site-wide.
     */
    apply_filters( 'wpseo_enable_ai_content_planner_inline_banner', true );
  • admin/formatter/class-metabox-formatter.php line 69
    /**
     * Filter to determine if the markers should be enabled or not.
     */
    apply_filters( 'wpseo_enable_assessment_markers', true );
  • src/integrations/feature-flag-integration.php line 98
    /**
     * Filters the list of currently enabled feature flags.
     */
    apply_filters( 'wpseo_enable_feature', $enabled_features );
  • src/integrations/blocks/structured-data-blocks.php line 83
    /**
     * Filter: 'wpseo_enable_structured_data_blocks' - Allows disabling Yoast's
     * schema blocks entirely.
     */
    apply_filters( 'wpseo_enable_structured_data_blocks', true );
  • inc/sitemaps/class-sitemaps-cache.php line 88
    /**
     * Filter if XML sitemap transient cache is enabled.
     */
    apply_filters( 'wpseo_enable_xml_sitemap_transient_caching', false );
  • src/presenters/slack/enhanced-data-presenter.php line 64
    /**
     * Filter: 'wpseo_enhanced_slack_data' - Allows filtering of the enhanced data
     * for sharing on Slack.
     */
    apply_filters( 'wpseo_enhanced_slack_data', $data, $this->presentation );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 296
    /**
     * Filter: 'wpseo_exclude_from_sitemap_by_post_ids' - Allow extending and
     * modifying the posts to exclude.
     */
    apply_filters( 'wpseo_exclude_from_sitemap_by_post_ids', $excluded_posts_ids );
  • inc/sitemaps/class-taxonomy-sitemap-provider.php line 238
    /**
     * Filter: 'wpseo_exclude_from_sitemap_by_term_ids' - Allow excluding terms by
     * ID.
     */
    apply_filters( 'wpseo_exclude_from_sitemap_by_term_ids', [] );
  • src/images/Application/image-content-extractor.php line 162
    /**
     * Filter 'wpseo_extract_id_pattern' - Allows filtering the regex patern to be
     * used to extract image IDs from class/attribute names.
     */
    apply_filters( 'wpseo_extract_id_pattern', '/(?<!\S)wp-image-(\d+)(?!\S)/i' );
  • admin/views/class-yoast-feature-toggles.php line 220
    /**
     * Filter to add feature toggles from add-ons.
     */
    apply_filters( 'wpseo_feature_toggles', $feature_toggles );
  • src/images/Application/image-content-extractor.php line 38
    /**
     * Filter 'wpseo_force_skip_image_content_parsing' - Filters if we should force
     * skip scanning the content to parse images. This filter can be used if the
     * regex gives a faster result than scanning the code.
     */
    apply_filters( 'wpseo_force_skip_image_content_parsing', $should_not_parse_content );
  • src/helpers/current-page-helper.php line 93
    /**
     * Filter: Allow changing the default page id.
     */
    apply_filters( 'wpseo_frontend_page_type_simple_page_id', 0 );
  • src/integrations/front-end-integration.php line 563
    /**
     * Filter 'wpseo_frontend_presenter_classes' - Allow filtering presenters in or
     * out of the request.
     */
    apply_filters( 'wpseo_frontend_presenter_classes', $presenters, $page_type );
  • src/integrations/front-end-integration.php line 522
    /**
     * Filter 'wpseo_frontend_presenters' - Allow filtering the presenter instances
     * in or out of the request.
     */
    apply_filters( 'wpseo_frontend_presenters', $presenters, $context );
  • src/actions/configuration/first-time-configuration-action.php line 216
    /**
     * Action: 'wpseo_post_update_enable_tracking' - Allows for Hiive event
     * tracking.
     */
    do_action( 'wpseo_ftc_post_update_enable_tracking', $params['tracking'], $option_value, ! $success );
  • src/actions/configuration/first-time-configuration-action.php line 87
    /**
     * Action: 'wpseo_post_update_site_representation' - Allows for Hiive event
     * tracking.
     */
    do_action( 'wpseo_ftc_post_update_site_representation', $params, $old_values, $failures );
  • src/actions/configuration/first-time-configuration-action.php line 124
    /**
     * Action: 'wpseo_post_update_social_profiles' - Allows for Hiive event
     * tracking.
     */
    do_action( 'wpseo_ftc_post_update_social_profiles', $params, $old_values, $failures );
  • admin/views/tool-import-export.php line 56
    /**
     * Allow custom import actions.
     */
    apply_filters( 'wpseo_handle_import', $yoast_seo_import );
  • src/integrations/admin/helpscout-beacon.php line 514
    /**
     * Filter: 'wpseo_helpscout_beacon_settings' - Allows overriding the HelpScout
     * beacon settings.
     */
    apply_filters( 'wpseo_helpscout_beacon_settings', $filterable_helpscout_setting );
  • src/integrations/admin/helpscout-beacon.php line 216
    /**
     * Filter: 'wpseo_helpscout_show_beacon' - Allows overriding whether we show
     * the HelpScout beacon.
     */
    apply_filters( 'wpseo_helpscout_show_beacon', $return );
  • src/presenters/debug/marker-open-presenter.php line 52
    /**
     * Filter: 'wpseo_hide_version' - can be used to hide the Yoast SEO version in
     * the debug marker (only available in Yoast SEO Premium).
     */
    apply_filters( 'wpseo_hide_version', false );
  • src/helpers/url-helper.php line 79
    /**
     * Action: 'wpseo_home_url' - Allows overriding of the home URL.
     */
    do_action( 'wpseo_home_url' );
  • inc/class-wpseo-image-utils.php line 165
    /**
     * Filter: 'wpseo_image_data' - Filter image data.
     */
    apply_filters( 'wpseo_image_data', $image, $attachment_id );
  • inc/class-wpseo-image-utils.php line 189
    /**
     * Filter: 'wpseo_image_image_weight_limit' - Determines what the maximum
     * weight (in bytes) of an image is allowed to be, default is 2 MB.
     */
    apply_filters( 'wpseo_image_image_weight_limit', 2_097_152 );
  • inc/class-wpseo-image-utils.php line 405
    /**
     * Filter: 'wpseo_image_sizes' - Determines which image sizes we'll loop
     * through to get an appropriate image.
     */
    apply_filters( 'wpseo_image_sizes', [ 'full', 'large', 'medium_large' ] );
  • admin/views/tool-import-export.php line 70
    /**
     * Allow customization of import/export message.
     */
    apply_filters( 'wpseo_import_message', $yoast_seo_message );
  • admin/views/tabs/tool/import-seo.php line 84
    /**
     * WARNING: This hook is intended for internal use only. Don't use it in your
     * code as it will be removed shortly.
     */
    do_action( 'wpseo_import_other_plugins_internal' );
  • admin/views/tool-import-export.php line 123
    /**
     * Allow adding a custom import tab.
     */
    do_action( 'wpseo_import_tab_content' );
  • admin/views/tool-import-export.php line 108
    /**
     * Allow adding a custom import tab header.
     */
    do_action( 'wpseo_import_tab_header' );
  • src/integrations/admin/import-integration.php line 139
    /**
     * Filter: 'wpseo_importing_data' Filter to adapt the data used in the import
     * process.
     */
    apply_filters( 'wpseo_importing_data', $data );
  • src/analytics/application/missing-indexables-collector.php line 63
    /**
     * Filter: Adds the possibility to add additional indexation actions to be
     * included in the count routine.
     */
    apply_filters( 'wpseo_indexable_collector_add_indexation_actions', $this->indexation_actions );
  • src/helpers/post-type-helper.php line 108
    /**
     * Filter: 'wpseo_indexable_excluded_post_types' - Allows excluding posts of a
     * certain post type from being saved to the indexable table.
     */
    apply_filters( 'wpseo_indexable_excluded_post_types', [] );
  • src/helpers/taxonomy-helper.php line 131
    /**
     * Filter: 'wpseo_indexable_excluded_taxonomies' - Allow developers to prevent
     * a certain taxonomy from being saved to the indexable table.
     */
    apply_filters( 'wpseo_indexable_excluded_taxonomies', [] );
  • src/helpers/post-type-helper.php line 181
    /**
     * Filter: 'wpseo_indexable_forced_included_post_types' - Allows force
     * including posts of a certain post type to be saved to the indexable table.
     */
    apply_filters( 'wpseo_indexable_forced_included_post_types', $included_post_types );
  • src/builders/indexable-builder.php line 467
    /**
     * Fires when an indexable could not be built because of an unexpected error.
     */
    do_action( 'wpseo_indexable_indexing_failed', $indexable->object_id, $indexable->object_type, $indexable->object_sub_type, $exception );
  • src/presenters/admin/indexing-notification-presenter.php line 105
    /**
     * Filter: 'wpseo_indexables_indexation_alert' - Allow developers to filter the
     * reason of the indexation
     */
    apply_filters( 'wpseo_indexables_indexation_alert', $text, $reason );
  • src/helpers/indexing-helper.php line 368
    /**
     * Filter: 'wpseo_indexing_get_limited_unindexed_count' - Allow changing the
     * amount of unindexed objects, and allow for a maximum number of items counted
     * to improve performance.
     */
    apply_filters( 'wpseo_indexing_get_limited_unindexed_count', $unindexed_count, $limit );
  • src/helpers/indexing-helper.php line 393
    /**
     * Filter: 'wpseo_indexing_get_limited_unindexed_count_background' - Allow
     * changing the amount of unindexed objects that can be indexed in the
     * background, and allow for a maximum number of items counted to improve
     * performance.
     */
    apply_filters( 'wpseo_indexing_get_limited_unindexed_count_background', $unindexed_count, $limit );
  • src/helpers/indexing-helper.php line 318
    /**
     * Filter: 'wpseo_indexing_get_unindexed_count' - Allow changing the amount of
     * unindexed objects.
     */
    apply_filters( 'wpseo_indexing_get_unindexed_count', $unindexed_count );
  • admin/views/class-yoast-integration-toggles.php line 93
    /**
     * Filter to add integration toggles from add-ons.
     */
    apply_filters( 'wpseo_integration_toggles', $integration_toggles );
  • src/introductions/application/introductions-collector.php line 73
    /**
     * Filter: Adds the possibility to add additional introductions to be included.
     */
    apply_filters( 'wpseo_introductions', $introductions );
  • src/editors/framework/integrations/jetpack-markdown.php line 68
    /**
     * Filters whether markdown support is active in the readability- and
     * seo-analysis.
     */
    apply_filters( 'wpseo_is_markdown_enabled', $is_markdown );
  • wpseo_json_ld

    action
    src/presenters/schema-presenter.php line 43
    /**
     * Action: 'wpseo_json_ld' - Output Schema before the main schema from Yoast
     * SEO is output.
     */
    do_action( 'wpseo_json_ld' );
  • src/generators/schema/website.php line 85
    /**
     * Filter: 'wpseo_json_ld_search_url' - Allows filtering of the search URL for
     * Yoast SEO.
     */
    apply_filters( 'wpseo_json_ld_search_url', $this->context->site_url . '?s={search_term_string}' );
  • src/llms-txt/application/file/commands/populate-file-command-handler.php line 107
    /**
     * Filter: 'wpseo_llmstxt_encoding_prefix' - Allows editing the Byte Order Mark
     * (BOM) for UTF-8 we prepend to the llmst.txt file.
     */
    apply_filters( 'wpseo_llmstxt_encoding_prefix', "\xEF\xBB\xBF" );
  • src/llms-txt/infrastructure/file/wordpress-file-system-adapter.php line 114
    /**
     * Filter: 'wpseo_llmstxt_filesystem_path' - Allows editing the filesystem path
     * of the llmst.txt file to account for server restrictions to the filesystem.
     */
    apply_filters( 'wpseo_llmstxt_filesystem_path', $llms_filesystem_path );
  • wpseo_loaded

    action
    wp-seo-main.php line 451
    /**
     * Action called when the Yoast SEO plugin file has loaded.
     */
    do_action( 'wpseo_loaded' );
  • wpseo_locale

    filter
    src/generators/open-graph-locale-generator.php line 27
    /**
     * Filter: 'wpseo_locale' - Allow changing the locale output.
     */
    apply_filters( 'wpseo_locale', \get_locale() );
  • wpseo_logger

    filter
    src/loggers/logger.php line 36
    /**
     * Gives the possibility to set override the logger interface.
     */
    apply_filters( 'wpseo_logger', $this->wrapped_logger );
  • admin/class-admin.php line 144
    /**
     * Filter: 'wpseo_manage_options_capability' - Allow changing the capability
     * users need to view the settings pages.
     */
    apply_filters( 'wpseo_manage_options_capability', 'wpseo_manage_options' );
  • src/presenters/meta-author-presenter.php line 57
    /**
     * Filter: 'wpseo_meta_author' - Allow developers to filter the article's
     * author meta tag.
     */
    apply_filters( 'wpseo_meta_author', $user_data->display_name, $this->presentation );
  • inc/class-wpseo-meta.php line 429
    /**
     * Filter the WPSEO metabox form field definitions for a tab. {tab} can be
     * 'general', 'advanced' or 'social'.
     */
    apply_filters( "wpseo_metabox_entries_{$tab}", $field_defs, $post_type );
  • src/presenters/meta-description-presenter.php line 59
    /**
     * Filter: 'wpseo_metadesc' - Allow changing the Yoast SEO meta description
     * sentence.
     */
    apply_filters( 'wpseo_metadesc', $meta_description, $this->presentation );
  • src/integrations/cleanup-integration.php line 201
    /**
     * Filter: Adds the possibility to add additional non-indexable cleanup
     * functions.
     */
    apply_filters( 'wpseo_misc_cleanup_tasks', [] );
  • src/myyoast-client/infrastructure/wordpress/redirect-uri-provider.php line 103
    /**
     * Filters the redirect URI embedded in a single MyYoast authorization request.
     */
    apply_filters( 'wpseo_myyoast_authorization_redirect_uri', $chosen, $client, $user_id, $scopes, $resource_indicator, $return_url );
  • src/myyoast-client/infrastructure/oidc/issuer-config.php line 119
    /**
     * Filters the MyYoast initial access token.
     */
    apply_filters( 'wpseo_myyoast_initial_access_token', self::INITIAL_ACCESS_TOKEN );
  • src/myyoast-client/infrastructure/oidc/issuer-config.php line 87
    /**
     * Filters the MyYoast issuer URL.
     */
    apply_filters( 'wpseo_myyoast_issuer_url', self::DEFAULT_ISSUER_URL );
  • src/myyoast-client/infrastructure/wordpress/redirect-uri-provider.php line 40
    /**
     * Filters the redirect URIs registered with MyYoast for this site.
     */
    apply_filters( 'wpseo_myyoast_redirect_uris', [ $canonical ] );
  • src/myyoast-client/infrastructure/oidc/issuer-config.php line 103
    /**
     * Filters the MyYoast software statement JWT.
     */
    apply_filters( 'wpseo_myyoast_software_statement', self::SOFTWARE_STATEMENT );
  • admin/menu/class-network-admin-menu.php line 73
    /**
     * Filter: 'wpseo_network_submenu_pages' - Collects all network submenus that
     * need to be shown.
     */
    apply_filters( 'wpseo_network_submenu_pages', $submenu_pages );
  • admin/class-yoast-notification.php line 239
    /**
     * Filter capabilities that enable the displaying of this notification.
     */
    apply_filters( 'wpseo_notification_capabilities', $this->options['capabilities'], $this );
  • admin/class-yoast-notification.php line 256
    /**
     * Filter capability check to enable all or any capabilities.
     */
    apply_filters( 'wpseo_notification_capability_check', $this->options['capability_check'], $this );
  • src/presenters/open-graph/article-publisher-presenter.php line 39
    /**
     * Filter: 'wpseo_og_article_publisher' - Allow developers to filter the
     * article publisher's Facebook URL.
     */
    apply_filters( 'wpseo_og_article_publisher', $this->presentation->open_graph_article_publisher, $this->presentation );
  • src/presenters/open-graph/locale-presenter.php line 39
    /**
     * Filter: 'wpseo_og_locale' - Allow changing the Yoast SEO Open Graph locale.
     */
    apply_filters( 'wpseo_og_locale', $this->presentation->open_graph_locale, $this->presentation );
  • src/presenters/open-graph/article-author-presenter.php line 39
    /**
     * Filter: 'wpseo_opengraph_author_facebook' - Allow developers to filter the
     * article author's Facebook URL.
     */
    apply_filters( 'wpseo_opengraph_author_facebook', $this->presentation->open_graph_article_author, $this->presentation );
  • src/presenters/open-graph/description-presenter.php line 41
    /**
     * Filter: 'wpseo_opengraph_desc' - Allow changing the Yoast SEO generated Open
     * Graph description.
     */
    apply_filters( 'wpseo_opengraph_desc', $meta_og_description, $this->presentation );
  • src/presenters/open-graph/image-presenter.php line 102
    /**
     * Filter: 'wpseo_opengraph_image' - Allow changing the Open Graph image url.
     */
    apply_filters( 'wpseo_opengraph_image', $image['url'], $this->presentation );
  • src/presenters/open-graph/image-presenter.php line 144
    /**
     * Filter: 'wpseo_opengraph_image_height' - Allow changing the Open Graph image
     * height.
     */
    apply_filters( 'wpseo_opengraph_image_height', $image_height, $this->presentation );
  • src/helpers/open-graph/image-helper.php line 52
    /**
     * Filter: 'wpseo_opengraph_image_size' - Allow overriding the image size used
     * for Open Graph sharing. If this filter is used, the defined size will always
     * be used for the og:image. The image will still be rejected if it is too
     * small.
     */
    apply_filters( 'wpseo_opengraph_image_size', null );
  • src/presenters/open-graph/image-presenter.php line 114
    /**
     * Filter: 'wpseo_opengraph_image_type' - Allow changing the Open Graph image
     * type.
     */
    apply_filters( 'wpseo_opengraph_image_type', $image_type, $this->presentation );
  • src/presenters/open-graph/image-presenter.php line 129
    /**
     * Filter: 'wpseo_opengraph_image_width' - Allow changing the Open Graph image
     * width.
     */
    apply_filters( 'wpseo_opengraph_image_width', $image_width, $this->presentation );
  • src/presentations/indexable-post-type-presentation.php line 274
    /**
     * Filter: 'wpseo_opengraph_show_publish_date' - Allow showing publication date
     * for other post types.
     */
    apply_filters( 'wpseo_opengraph_show_publish_date', false, $this->post->get_post_type( $this->source ) );
  • src/presenters/open-graph/site-name-presenter.php line 39
    /**
     * Filter: 'wpseo_opengraph_site_name' - Allow changing the Yoast SEO generated
     * Open Graph site name.
     */
    apply_filters( 'wpseo_opengraph_site_name', $this->presentation->open_graph_site_name, $this->presentation );
  • src/presenters/open-graph/title-presenter.php line 41
    /**
     * Filter: 'wpseo_opengraph_title' - Allow changing the Yoast SEO generated
     * title.
     */
    apply_filters( 'wpseo_opengraph_title', $title, $this->presentation );
  • src/presenters/open-graph/type-presenter.php line 39
    /**
     * Filter: 'wpseo_opengraph_type' - Allow changing the opengraph type.
     */
    apply_filters( 'wpseo_opengraph_type', $this->presentation->open_graph_type, $this->presentation );
  • src/presenters/open-graph/url-presenter.php line 46
    /**
     * Filter: 'wpseo_opengraph_url' - Allow changing the Yoast SEO generated open
     * graph URL.
     */
    apply_filters( 'wpseo_opengraph_url', $this->presentation->open_graph_url, $this->presentation );
  • admin/class-option-tabs-formatter.php line 75
    /**
     * Allows to override the content that is display on the specific option tab.
     */
    apply_filters( "wpseo_option_tab-{$tab_filter_name}", null, $option_tabs, $tab );
  • inc/options/class-wpseo-option-titles.php line 906
    /**
     * Allow altering the array with variable array key patterns.
     */
    apply_filters( 'wpseo_option_titles_variable_array_key_patterns', $patterns );
  • inc/options/class-wpseo-option-wpseo.php line 252
    /**
     * Filter the `wpseo` option defaults.
     */
    apply_filters( 'wpseo_option_wpseo_defaults', $this->defaults );
  • wpseo_options

    filter
    inc/options/class-wpseo-options.php line 211
    /**
     * Filter: wpseo_options - Allow developers to change the option name to
     * include.
     */
    apply_filters( 'wpseo_options', $option_names );
  • src/helpers/social-profiles-helper.php line 82
    /**
     * Filter: Allow changes to the social profiles fields available for an
     * organization.
     */
    apply_filters( 'wpseo_organization_social_profile_fields', $this->organization_social_profile_fields );
  • src/helpers/social-profiles-helper.php line 66
    /**
     * Filter: Allow changes to the social profiles fields available for a person.
     */
    apply_filters( 'wpseo_person_social_profile_fields', $this->person_social_profile_fields );
  • admin/formatter/class-post-metabox-formatter.php line 72
    /**
     * Filter: 'wpseo_post_edit_values' - Allows changing the values Yoast SEO uses
     * inside the post editor.
     */
    apply_filters( 'wpseo_post_edit_values', $values, $this->post );
  • src/actions/indexing/indexable-post-indexation-action.php line 125
    /**
     * Filter 'wpseo_post_indexation_limit' - Allow filtering the amount of posts
     * indexed during each indexing pass.
     */
    apply_filters( 'wpseo_post_indexation_limit', 25 );
  • src/actions/indexing/indexable-post-type-archive-indexation-action.php line 132
    /**
     * Filter 'wpseo_post_type_archive_indexation_limit' - Allow filtering the
     * number of posts indexed during each indexing pass.
     */
    apply_filters( 'wpseo_post_type_archive_indexation_limit', 25 );
  • src/integrations/watchers/indexable-permalink-watcher.php line 230
    /**
     * Filter: Gives the possibility to filter out post types.
     */
    apply_filters( 'wpseo_post_types_reset_permalinks', $this->post_type->get_public_post_types() );
  • inc/class-wpseo-meta.php line 1052
    /**
     * Allows enhancing the array of posts' that share their focus keywords with
     * the post's focus keywords.
     */
    apply_filters( 'wpseo_posts_for_focus_keyword', $post_ids, $keyword, $post_id );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 523
    /**
     * Filter JOIN query part for the post type.
     */
    apply_filters( 'wpseo_posts_join', false, $post_type );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 531
    /**
     * Filter WHERE query part for the post type.
     */
    apply_filters( 'wpseo_posts_where', false, $post_type );
  • inc/class-wpseo-content-images.php line 102
    /**
     * Filter: 'wpseo_pre_analysis_post_content' - Allow filtering the content
     * before analysis.
     */
    apply_filters( 'wpseo_pre_analysis_post_content', $post->post_content, $post );
  • src/generators/schema-generator.php line 60
    /**
     * Filter: 'wpseo_pre_schema_block_type_<block-type>' - Allows hooking things
     * to change graph output based on the blocks on the page.
     */
    do_action( "wpseo_pre_schema_block_type_{$block_type}", $context->blocks[ $block_type ], $context );
  • src/editors/framework/previously-used-keyphrase.php line 25
    /**
     * Filter to determine If the PreviouslyUsedKeyphrase assessment should run.
     */
    apply_filters( 'wpseo_previously_used_keyword_active', true );
  • src/conditionals/primary-category-conditional.php line 53
    /**
     * Filter: Adds the possibility to use primary category at additional admin
     * pages.
     */
    apply_filters( 'wpseo_primary_category_admin_pages', [] );
  • src/helpers/post-helper.php line 223
    /**
     * Filter: 'wpseo_public_post_statuses' - List of public post statuses.
     */
    apply_filters( 'wpseo_public_post_statuses', [ 'publish' ] );
  • admin/class-admin-init.php line 376
    /**
     * Fires after the post time/date setting in the Publish meta box.
     */
    do_action( 'wpseo_publishbox_misc_actions', $post );
  • inc/class-wpseo-replace-vars.php line 80
    /**
     * Action: 'wpseo_register_extra_replacements' - Allows for registration of
     * additional variables to replace.
     */
    do_action( 'wpseo_register_extra_replacements' );
  • src/integrations/front-end/redirects.php line 264
    /**
     * Allows the developer to keep cat=-1 GET parameters
     */
    apply_filters( 'wpseo_remove_cat_parameter', true );
  • src/integrations/front-end/comment-link-fixer.php line 138
    /**
     * Filter: 'wpseo_remove_reply_to_com' - Allow disabling the feature that
     * removes ?replytocom query parameters.
     */
    apply_filters( 'wpseo_remove_reply_to_com', true );
  • inc/class-wpseo-custom-fields.php line 71
    /**
     * Filters the custom fields that are auto-completed and replaced as
     * replacement variables in the meta box and sidebar.
     */
    apply_filters( 'wpseo_replacement_variables_custom_fields', $fields );
  • inc/class-wpseo-replace-vars.php line 176
    /**
     * Filter: 'wpseo_replacements' - Allow customization of the replacements
     * before they are applied.
     */
    apply_filters( 'wpseo_replacements', $replacements, $this->args );
  • src/helpers/options-helper.php line 84
    /**
     * Filter: 'wpseo_replacements_filter_sep' - Allow customization of the
     * separator character(s).
     */
    apply_filters( 'wpseo_replacements_filter_sep', $replacement );
  • inc/class-wpseo-replace-vars.php line 196
    /**
     * Filter: 'wpseo_replacements_final' - Allow overruling of whether or not to
     * remove placeholders which didn't yield a replacement.
     */
    apply_filters( 'wpseo_replacements_final', true );
  • wpseo_robots

    filter
    src/presentations/indexable-presentation.php line 330
    /**
     * Filter: 'wpseo_robots' - Allows filtering of the meta robots output of Yoast
     * SEO.
     */
    apply_filters( 'wpseo_robots', $robots_string, $this );
  • src/presentations/indexable-presentation.php line 373
    /**
     * Filter: 'wpseo_robots_array' - Allows filtering of the meta robots output
     * array of Yoast SEO.
     */
    apply_filters( 'wpseo_robots_array', \array_filter( $robots ), $this );
  • inc/class-upgrade.php line 112
    /**
     * Filter: 'wpseo_run_upgrade' - Runs the upgrade hook which are dependent on
     * Yoast SEO.
     */
    do_action( 'wpseo_run_upgrade', $version );
  • src/helpers/indexable-helper.php line 314
    /**
     * Action: 'wpseo_save_indexable' - Allow developers to perform an action when
     * the indexable is updated.
     */
    do_action( 'wpseo_save_indexable', $indexable, $indexable_before );
  • src/helpers/indexable-helper.php line 323
    /**
     * Action: 'wpseo_save_indexable' - Allow developers to perform an action right
     * after the indexable is created or updated.
     */
    do_action( 'wpseo_saved_indexable', $indexable );
  • src/generators/schema-generator.php line 145
    /**
     * Filter: 'wpseo_schema_<identifier>' - Allows changing graph piece output.
     * This filter can be called with either an identifier or a block type (see
     * `add_schema_blocks_graph_pieces()`).
     */
    apply_filters( "wpseo_schema_{$identifier}", $graph_piece, $context, $graph_piece_generator, $graph_piece_generators );
  • src/generators/schema-generator.php line 354
    /**
     * Filter: 'wpseo_schema_<type>' - Allows changing graph piece output by @type.
     */
    apply_filters( "wpseo_schema_{$type}", $graph_piece, $context, $graph_piece_generator, $graph_piece_generators );
  • src/schema-aggregator/infrastructure/config.php line 55
    /**
     * Filter: 'wpseo_schema_aggregator_big_schema_post_types' Determines the list
     * of post types we want to have a smaller per page count.
     */
    apply_filters( 'wpseo_schema_aggregator_big_schema_post_types', self::BIG_SCHEMA_POST_TYPES );
  • src/schema-aggregator/infrastructure/config.php line 162
    /**
     * Filter: 'wpseo_schema_aggregator_per_page' Determines the page count for
     * post types.
     */
    apply_filters( 'wpseo_schema_aggregator_per_page', self::DEFAULT_PER_PAGE );
  • src/schema-aggregator/infrastructure/config.php line 142
    /**
     * Filter: 'wpseo_schema_aggregator_per_page_big' Determines the page count for
     * post types with lots of schema nodes.
     */
    apply_filters( 'wpseo_schema_aggregator_per_page_big', self::DEFAULT_PER_PAGE_BIG_SCHEMA );
  • src/generators/schema/article.php line 95
    /**
     * Filter: 'wpseo_schema_article_keywords_taxonomy' - Allow changing the
     * taxonomy used to assign keywords to a post type Article data.
     */
    apply_filters( 'wpseo_schema_article_keywords_taxonomy', 'post_tag' );
  • src/generators/schema/article.php line 180
    /**
     * Filter: 'wpseo_schema_article_potential_action_target' - Allows filtering of
     * the schema Article potentialAction target.
     */
    apply_filters( 'wpseo_schema_article_potential_action_target', [ $this->context->canonical . '#respond' ] );
  • src/generators/schema/article.php line 113
    /**
     * Filter: 'wpseo_schema_article_sections_taxonomy' - Allow changing the
     * taxonomy used to assign keywords to a post type Article data.
     */
    apply_filters( 'wpseo_schema_article_sections_taxonomy', 'category' );
  • src/config/schema-types.php line 123
    /**
     * Filter: 'wpseo_schema_article_types_labels' - Allow developers to filter the
     * available article types and their labels.
     */
    apply_filters( 'wpseo_schema_article_types_labels', [ [ 'name' => \__( 'Article', 'wordpress-seo' ), 'value' => 'Article', ], [ 'name' => \__( 'Blog Post', 'wordpress-seo' ), 'value' => 'BlogPosting', ], [ 'name' => \__( 'Social Media Posting', 'wordpress-seo' ), 'value' => 'SocialMediaPosting', ], [ 'name' => \__( 'News Article', 'wordpress-seo' ), 'value' => 'NewsArticle', ], [ 'name' => \__( 'Advertiser Content Article', 'wordpress-seo' ), 'v... );
  • src/generators/schema-generator.php line 186
    /**
     * Filter: 'wpseo_schema_block_<block-type>'. This filter is documented in the
     * `generate_graph()` function in this class.
     */
    apply_filters( "wpseo_schema_block_{$block_type}", $graph, $block, $context );
  • src/context/meta-tags-context.php line 387
    /**
     * Filter: 'wpseo_schema_company_logo_id' - Allows filtering company logo id.
     */
    apply_filters( 'wpseo_schema_company_logo_id', $company_logo_id );
  • src/context/meta-tags-context.php line 403
    /**
     * Filter: 'wpseo_schema_company_logo_meta' - Allows filtering company logo
     * meta.
     */
    apply_filters( 'wpseo_schema_company_logo_meta', $company_logo_meta );
  • src/context/meta-tags-context.php line 311
    /**
     * Filter: 'wpseo_schema_company_name' - Allows filtering company name
     */
    apply_filters( 'wpseo_schema_company_name', $this->options->get( 'company_name' ) );
  • src/generators/schema-generator.php line 161
    /**
     * Filter: 'wpseo_schema_graph' - Allows changing graph output.
     */
    apply_filters( 'wpseo_schema_graph', $graph, $context );
  • src/generators/schema-generator.php line 322
    /**
     * Filter: 'wpseo_schema_graph_pieces' - Allows adding pieces to the graph.
     */
    apply_filters( 'wpseo_schema_graph_pieces', $schema_pieces, $context );
  • src/context/meta-tags-context.php line 668
    /**
     * Filter: 'wpseo_schema_main_image_id' - Allow changing the main image ID.
     */
    apply_filters( 'wpseo_schema_main_image_id', $image_id );
  • src/generators/schema-generator.php line 103
    /**
     * Filter: 'wpseo_schema_needs_<identifier>' - Allows changing which graph
     * pieces we output.
     */
    apply_filters( "wpseo_schema_needs_{$identifier}", $piece->is_needed() );
  • src/generators/schema/organization.php line 84
    /**
     * Filter: 'wpseo_schema_organization_social_profiles' - Allows filtering
     * social profiles for the represented organization.
     */
    apply_filters( 'wpseo_schema_organization_social_profiles', $profiles );
  • src/generators/schema/person.php line 171
    /**
     * Filter: 'wpseo_schema_person_data' - Allows filtering of schema data per
     * user.
     */
    apply_filters( 'wpseo_schema_person_data', $data, $user_id );
  • src/context/meta-tags-context.php line 346
    /**
     * Filter: 'wpseo_schema_person_logo_id' - Allows filtering person logo id.
     */
    apply_filters( 'wpseo_schema_person_logo_id', $person_logo_id );
  • src/context/meta-tags-context.php line 367
    /**
     * Filter: 'wpseo_schema_person_logo_meta' - Allows filtering person logo meta.
     */
    apply_filters( 'wpseo_schema_person_logo_meta', $person_logo_meta );
  • src/generators/schema/person.php line 103
    /**
     * Filter: 'wpseo_schema_person_social_profiles' - Allows filtering of social
     * profiles per user.
     */
    apply_filters( 'wpseo_schema_person_social_profiles', $this->social_profiles, $user_id );
  • src/helpers/schema/language-helper.php line 28
    /**
     * Filter: 'wpseo_schema_piece_language' - Allow changing the Schema piece
     * language.
     */
    apply_filters( 'wpseo_schema_piece_language', \get_bloginfo( 'language' ), $data );
  • src/generators/schema/webpage.php line 148
    /**
     * Filter: 'wpseo_schema_webpage_potential_action_target' - Allows filtering of
     * the schema WebPage potentialAction target.
     */
    apply_filters( 'wpseo_schema_webpage_potential_action_target', [ $url ] );
  • src/context/meta-tags-context.php line 544
    /**
     * Filter: 'wpseo_schema_webpage_type' - Allow changing the WebPage type.
     */
    apply_filters( 'wpseo_schema_webpage_type', $type );
  • inc/options/class-wpseo-option-titles.php line 997
    /**
     * Allows altering the separator options array.
     */
    apply_filters( 'wpseo_separator_option_list', $separators );
  • inc/options/class-wpseo-option-titles.php line 233
    /**
     * Allow altering the array with separator options.
     */
    apply_filters( 'wpseo_separator_options', $separators );
  • admin/views/tabs/network/crawl-settings.php line 42
    /**
     * Fires when displaying the crawl cleanup network tab.
     */
    do_action( 'wpseo_settings_tab_crawl_cleanup_network', $yform );
  • admin/views/tabs/dashboard/site-analysis.php line 20
    /**
     * WARNING: This hook is intended for internal use only. Don't use it in your
     * code as it will be removed shortly.
     */
    do_action( 'wpseo_settings_tab_site_analysis_internal', $yform );
  • src/integrations/front-end/robots-txt-integration.php line 99
    /**
     * Filter: 'wpseo_should_add_subdirectory_multisite_xml_sitemaps' - Disabling
     * this filter removes subdirectory sites from xml sitemaps.
     */
    apply_filters( 'wpseo_should_add_subdirectory_multisite_xml_sitemaps', true );
  • src/builders/indexable-author-builder.php line 245
    /**
     * Filter: Include or exclude a user from being build and saved as an
     * indexable. Return an `Author_Not_Built_Exception` when the indexable should
     * not be build, with an appropriate message telling why it should not be
     * built. Return `null` if the indexable should be build.
     */
    apply_filters( 'wpseo_should_build_and_save_user_indexable', $exception, $user_id );
  • src/integrations/admin/installation-success-integration.php line 109
    /**
     * Filter: 'wpseo_should_redirect_after_install' - Allows skipping the redirect
     * to the installation success page.
     */
    apply_filters( 'wpseo_should_redirect_after_install', true );
  • src/helpers/indexable-helper.php line 200
    /**
     * Filter: 'wpseo_should_save_indexable' - Allow developers to enable / disable
     * saving the indexable when the indexable is updated. Warning: overriding the
     * intended action may cause problems when moving from a staging to a
     * production environment because indexable permalinks may get set incorrectly.
     */
    apply_filters( 'wpseo_should_save_indexable', $intend_to_save, $indexable );
  • src/integrations/admin/background-indexing-integration.php line 313
    /**
     * Filter 'wpseo_shutdown_indexation_limit' - Allow filtering the number of
     * objects that can be indexed during shutdown.
     */
    apply_filters( 'wpseo_shutdown_indexation_limit', 25 );
  • src/abilities/infrastructure/site-representation-field-map.php line 115
    /**
     * Filter: 'wpseo_site_representation_ability_fields' - Allows adding site
     * representation settings that the site representation abilities can write.
     */
    apply_filters( 'wpseo_site_representation_ability_fields', $default_fields );
  • inc/sitemaps/class-sitemaps-renderer.php line 115
    /**
     * Filters the `urlset` for a sitemap by type.
     */
    apply_filters( "wpseo_sitemap_{$type}_urlset", $urlset );
  • inc/sitemaps/class-sitemap-image-parser.php line 97
    /**
     * Filter: 'wpseo_sitemap_content_before_parse_html_images' - Filters the post
     * content before it is parsed for images.
     */
    apply_filters( 'wpseo_sitemap_content_before_parse_html_images', $post->post_content );
  • inc/sitemaps/class-sitemaps.php line 606
    /**
     * Filter the maximum number of entries per XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_entries_per_page', 1000 );
  • inc/sitemaps/class-author-sitemap-provider.php line 251
    /**
     * Filter the authors, included in XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_exclude_author', $users );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 269
    /**
     * Filter decision if post type is excluded from the XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_exclude_post_type', false, $post_type );
  • inc/sitemaps/class-taxonomy-sitemap-provider.php line 332
    /**
     * Filter to exclude the taxonomy from the XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_exclude_taxonomy', false, $taxonomy_name );
  • inc/sitemaps/class-sitemaps.php line 664
    /**
     * Filter the HTTP headers we send before an XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_http_headers', $headers );
  • inc/sitemaps/class-sitemaps-renderer.php line 81
    /**
     * Filter to append sitemaps to the index.
     */
    apply_filters( 'wpseo_sitemap_index', '' );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 490
    /**
     * Filter the page which is dedicated to this post type archive.
     */
    apply_filters( 'wpseo_sitemap_page_for_post_type_archive', $archive_page_id, $post_type );
  • inc/sitemaps/class-sitemaps.php line 627
    /**
     * Filter post status list for sitemap query for the post type.
     */
    apply_filters( 'wpseo_sitemap_post_statuses', [ 'publish' ], $type );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 404
    /**
     * Filter the URL Yoast SEO uses in the XML sitemap for this post type archive.
     */
    apply_filters( 'wpseo_sitemap_post_type_archive_link', $this->get_post_type_archive_link( $post_type ), $post_type );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 429
    /**
     * Filters the first post type links.
     */
    apply_filters( 'wpseo_sitemap_post_type_first_links', $links, $post_type );
  • inc/sitemaps/class-sitemaps.php line 314
    /**
     * Fires before the attempt to retrieve XML sitemap from the transient cache.
     */
    do_action( "wpseo_sitemap_stylesheet_cache_{$type}", $this );
  • inc/sitemaps/class-sitemaps-renderer.php line 254
    /**
     * Filters the output for the sitemap URL tag.
     */
    apply_filters( 'wpseo_sitemap_url', $output, $url );
  • inc/sitemaps/class-sitemap-image-parser.php line 128
    /**
     * Filter images to be included for the post in XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_urlimages', $images, $post->ID );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 390
    /**
     * Filter images to be included for the term in XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_urlimages_front_page', $images );
  • inc/sitemaps/class-sitemap-image-parser.php line 188
    /**
     * Filter images to be included for the term in XML sitemap.
     */
    apply_filters( 'wpseo_sitemap_urlimages_term', $images, $term->term_id );
  • inc/sitemaps/class-sitemaps-renderer.php line 108
    /**
     * Filters the `urlset` for all sitemaps.
     */
    apply_filters( 'wpseo_sitemap_urlset', $urlset );
  • inc/sitemaps/class-sitemaps-router.php line 141
    /**
     * Filter the base URL of the sitemaps.
     */
    apply_filters( 'wpseo_sitemaps_base_url', $base );
  • src/editors/framework/seo/posts/social-data-provider.php line 123
    /**
     * Filters the social template value for a given post type.
     */
    apply_filters( 'wpseo_social_template_post_type', '', $template_option_name, $this->post->post_type );
  • src/editors/framework/seo/terms/social-data-provider.php line 123
    /**
     * Filters the social template value for a given taxonomy.
     */
    apply_filters( 'wpseo_social_template_taxonomy', '', $template_option_name, $this->term->taxonomy );
  • src/integrations/blocks/structured-data-blocks.php line 317
    /**
     * Filter: 'wpseo_structured_data_blocks_image_size' - Allows adjusting the
     * image size in structured data blocks.
     */
    apply_filters( 'wpseo_structured_data_blocks_image_size', $image_size, $attachment_id, $src_matches[1] );
  • inc/sitemaps/class-sitemaps-renderer.php line 154
    /**
     * Filter the stylesheet URL for the XML sitemap.
     */
    apply_filters( 'wpseo_stylesheet_url', $this->stylesheet );
  • admin/menu/class-admin-menu.php line 104
    /**
     * Filter: 'wpseo_submenu_pages' - Collects all submenus that need to be shown.
     */
    apply_filters( 'wpseo_submenu_pages', $submenu_pages );
  • src/task-list/infrastructure/register-post-type-tasks-integration.php line 100
    /**
     * Filter: 'wpseo_task_list_post_type_tasks' - Allows adding more post type
     * tasks to the task list.
     */
    apply_filters( 'wpseo_task_list_post_type_tasks', $this->post_type_tasks );
  • src/task-list/infrastructure/tasks-collectors/tasks-collector.php line 117
    /**
     * Filter: 'wpseo_task_list_tasks' - Allows adding more tasks to the task list.
     */
    apply_filters( 'wpseo_task_list_tasks', $this->tasks );
  • admin/taxonomy/class-taxonomy-fields.php line 103
    /**
     * Filter: 'wpseo_taxonomy_content_fields' - Adds the possibility to register
     * additional content fields.
     */
    apply_filters( 'wpseo_taxonomy_content_fields', [] );
  • src/actions/indexing/indexable-term-indexation-action.php line 112
    /**
     * Filter 'wpseo_term_indexation_limit' - Allow filtering the number of terms
     * indexed during each indexing pass.
     */
    apply_filters( 'wpseo_term_indexation_limit', 25 );
  • wpseo_terms

    filter
    inc/class-wpseo-replace-vars.php line 1600
    /**
     * Allows filtering of the terms list used to replace %%category%%, %%tag%% and
     * %%ct_<custom-tax-name>%% variables.
     */
    apply_filters( 'wpseo_terms', $output, $taxonomy );
  • wpseo_title

    filter
    src/presenters/title-presenter.php line 75
    /**
     * Filter: 'wpseo_title' - Allow changing the Yoast SEO generated title.
     */
    apply_filters( 'wpseo_title', $title, $this->presentation );
  • admin/pages/tools.php line 81
    /**
     * WARNING: This hook is intended for internal use only. Don't use it in your
     * code as it will be removed shortly.
     */
    do_action( 'wpseo_tools_overview_list_items_internal' );
  • admin/tracking/class-tracking-settings-data.php line 265
    /**
     * Filter: 'wpseo_tracking_settings_include_list' - Allow filtering the
     * settings included in tracking.
     */
    apply_filters( 'wpseo_tracking_settings_include_list', $this->include_list );
  • src/dashboard/infrastructure/search-console/site-kit-search-console-adapter.php line 157
    /**
     * Filter: 'wpseo_transform_dashboard_subject_for_testing' - Allows overriding
     * subjects like URLs for the dashboard, to facilitate testing in local
     * environments.
     */
    apply_filters( 'wpseo_transform_dashboard_subject_for_testing', $ranking->getKeys()[0] );
  • src/presenters/twitter/card-presenter.php line 32
    /**
     * Filter: 'wpseo_twitter_card_type' - Allow changing the Twitter card type.
     */
    apply_filters( 'wpseo_twitter_card_type', $this->presentation->twitter_card, $this->presentation );
  • src/presentations/indexable-post-type-presentation.php line 392
    /**
     * Filter: 'wpseo_twitter_creator_account' - Allow changing the X account as
     * output in the X card by Yoast SEO.
     */
    apply_filters( 'wpseo_twitter_creator_account', $twitter_creator );
  • src/presenters/twitter/description-presenter.php line 32
    /**
     * Filter: 'wpseo_twitter_description' - Allow changing the Twitter description
     * as output in the Twitter card by Yoast SEO.
     */
    apply_filters( 'wpseo_twitter_description', $this->replace_vars( $this->presentation->twitter_description ), $this->presentation );
  • src/presenters/twitter/image-presenter.php line 39
    /**
     * Filter: 'wpseo_twitter_image' - Allow changing the Twitter Card image.
     */
    apply_filters( 'wpseo_twitter_image', $this->presentation->twitter_image, $this->presentation );
  • src/helpers/twitter/image-helper.php line 41
    /**
     * Filter: 'wpseo_twitter_image_size' - Allow changing the Twitter Card image
     * size.
     */
    apply_filters( 'wpseo_twitter_image_size', 'full' );
  • src/presenters/twitter/site-presenter.php line 32
    /**
     * Filter: 'wpseo_twitter_site' - Allow changing the Twitter site account as
     * output in the Twitter card by Yoast SEO.
     */
    apply_filters( 'wpseo_twitter_site', $this->presentation->twitter_site, $this->presentation );
  • src/presenters/twitter/title-presenter.php line 32
    /**
     * Filter: 'wpseo_twitter_title' - Allow changing the Twitter title.
     */
    apply_filters( 'wpseo_twitter_title', $this->replace_vars( $this->presentation->twitter_title ), $this->presentation );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 328
    /**
     * Filter JOIN query part for type count of post type.
     */
    apply_filters( 'wpseo_typecount_join', '', $post_type );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 336
    /**
     * Filter WHERE query part for type count of post type.
     */
    apply_filters( 'wpseo_typecount_where', '', $post_type );
  • src/integrations/admin/background-indexing-integration.php line 205
    /**
     * Filter: 'wpseo_unindexed_count_queries_ran' - Informs whether the expensive
     * unindexed count queries have been ran already.
     */
    apply_filters( 'wpseo_unindexed_count_queries_ran', false );
  • src/user-profiles-additions/user-interface/user-profiles-additions-ui.php line 91
    /**
     * Fires in the user profile.
     */
    do_action( 'wpseo_user_profile_additions', $user );
  • src/actions/wincher/wincher-keyphrases-action.php line 296
    /**
     * Filters the keyphrases collected by the Wincher integration from all the
     * posts.
     */
    apply_filters( 'wpseo_wincher_all_keyphrases', $keyphrases );
  • src/actions/wincher/wincher-keyphrases-action.php line 269
    /**
     * Filters the keyphrases collected by the Wincher integration from the post.
     */
    apply_filters( 'wpseo_wincher_keyphrases_from_post', $keyphrases, $post->ID );
  • inc/sitemaps/class-sitemap-image-parser.php line 367
    /**
     * Filter image data to be included in XML sitemap for the post.
     */
    apply_filters( 'wpseo_xml_sitemap_img', $image, $post );
  • inc/sitemaps/class-sitemap-image-parser.php line 354
    /**
     * Filter image URL to be included in XML sitemap for the post.
     */
    apply_filters( 'wpseo_xml_sitemap_img_src', $src, $post );
  • inc/sitemaps/class-post-type-sitemap-provider.php line 644
    /**
     * Filter the URL Yoast SEO uses in the XML sitemap.
     */
    apply_filters( 'wpseo_xml_sitemap_post_url', get_permalink( $post ), $post );
  • inc/sitemaps/class-sitemaps.php line 450
    /**
     * Fires for the output of XSL for XML sitemaps, other than type "main".
     */
    do_action( "wpseo_xsl_{$type}" );
  • inc/class-yoast-dynamic-rewrites.php line 141
    /**
     * Fires when the plugin's dynamic rewrite rules should be added.
     */
    do_action( 'yoast_add_dynamic_rewrite_rules', $this );
  • admin/class-admin-gutenberg-compatibility-notification.php line 63
    /**
     * Filter: 'yoast_display_gutenberg_compat_notification' - Allows developer to
     * disable the Gutenberg compatibility notification.
     */
    apply_filters( 'yoast_display_gutenberg_compat_notification', true );
  • admin/metabox/class-metabox.php line 437
    /**
     * Private filter: 'yoast_free_additional_metabox_sections'.
     */
    apply_filters( 'yoast_free_additional_metabox_sections', [] );
  • admin/taxonomy/class-taxonomy-metabox.php line 203
    /**
     * Private filter: 'yoast_free_additional_taxonomy_metabox_sections'.
     */
    apply_filters( 'yoast_free_additional_taxonomy_metabox_sections', [] );
  • admin/class-yoast-notification-center.php line 625
    /**
     * Filter: 'yoast_notifications_before_storage' - Allows developer to filter
     * notifications before saving them.
     */
    apply_filters( 'yoast_notifications_before_storage', $merged_notifications );
  • src/helpers/open-graph/values-helper.php line 45
    /**
     * Allow changing the Open Graph description.
     */
    apply_filters( "Yoast\WP\SEO\open_graph_description_{$object_type}", $description, $object_subtype );
  • src/helpers/open-graph/values-helper.php line 83
    /**
     * Allow changing the Open Graph image URL.
     */
    apply_filters( "Yoast\WP\SEO\open_graph_image_{$object_type}", $image, $object_subtype );
  • src/helpers/open-graph/values-helper.php line 64
    /**
     * Allow changing the Open Graph image ID.
     */
    apply_filters( "Yoast\WP\SEO\open_graph_image_id_{$object_type}", $image_id, $object_subtype );
  • src/helpers/open-graph/values-helper.php line 26
    /**
     * Allow changing the Open Graph title.
     */
    apply_filters( "Yoast\WP\SEO\open_graph_title_{$object_type}", $title, $object_subtype );
  • src/integrations/front-end/robots-txt-integration.php line 108
    /**
     * Allow registering custom robots rules to be outputted within the Yoast
     * content block in robots.txt.
     */
    do_action( 'Yoast\WP\SEO\register_robots_rules', $this->robots_txt_helper );
  • src/helpers/indexable-helper.php line 222
    /**
     * Filter: 'Yoast\WP\SEO\should_index_indexables' - Allow developers to enable
     * / disable creating indexables. Warning: overriding the intended action may
     * cause problems when moving from a staging to a production environment
     * because indexable permalinks may get set incorrectly.
     */
    apply_filters( 'Yoast\WP\SEO\should_index_indexables', $should_index );
  • wp-seo-main.php line 343
    /**
     * Filter: 'Yoast\WP\SEO\should_invalidate_opcache' - Allow developers to
     * enable / disable opcache invalidation upon upgrade of the Yoast SEO plugin.
     */
    apply_filters( 'Yoast\WP\SEO\should_invalidate_opcache', $should_invalidate_opcache );
  • src/routes/workouts-route.php line 125
    /**
     * Filter: 'Yoast\WP\SEO\workouts_route_args' - Allows the add-ons add their
     * own arguments to the route registration.
     */
    apply_filters( 'Yoast\WP\SEO\workouts_route_args', $args_array );
  • src/routes/workouts-route.php line 105
    /**
     * Filter: 'Yoast\WP\SEO\workouts_route_save' - Allows the add-ons to save the
     * options data in their own options.
     */
    apply_filters( 'Yoast\WP\SEO\workouts_route_save', null, $workouts_data );
  • admin/capabilities/class-capability-manager-integration.php line 54 · used in 6 places
    do_action( 'wpseo_register_capabilities' );
  • lib/orm.php line 1962 · used in 3 places
    do_action( '_yoast_run_migrations' );
  • src/integrations/watchers/indexable-author-watcher.php line 91 · used in 3 places
    do_action( 'wpseo_indexable_deleted', $indexable );
  • inc/class-upgrade.php line 468 · used in 3 places
    do_action( 'wpseo_register_roles' );
  • src/integrations/admin/first-time-configuration-integration.php line 248 · used in 2 places
    apply_filters( 'wpseo_indexing_endpoints', $endpoints );
  • src/integrations/admin/first-time-configuration-integration.php line 175 · used in 2 places
    apply_filters( 'wpseo_knowledge_graph_setting_msg', '' );
  • admin/metabox/class-metabox.php line 133 · used in 2 places
    apply_filters( 'wpseo_metabox_prio', 'high' );
  • admin/metabox/class-metabox.php line 498 · used in 2 places
    do_action( 'wpseo_save_compare_data', $post );
  • admin/metabox/class-metabox.php line 505 · used in 2 places
    apply_filters( 'wpseo_save_metaboxes', [] );
  • admin/metabox/class-metabox.php line 559 · used in 2 places
    do_action( 'wpseo_saved_postdata' );
  • inc/options/class-wpseo-taxonomy-meta.php line 160 · used in 2 places
    apply_filters( "wpseo_tax_meta_special_term_id_validation_{$term_id}", $meta_data, $taxonomy, $term_id );
  • src/integrations/watchers/indexable-post-type-change-watcher.php line 156
    do_action( 'clean_new_public_post_type_notifications', $newly_made_non_public_post_types );
  • src/integrations/watchers/indexable-taxonomy-change-watcher.php line 158
    do_action( 'clean_new_public_taxonomy_notifications', $newly_made_non_public_taxonomies );
  • src/surfaces/meta-surface.php line 361
    apply_filters( 'date_rewrite_rules', $date_rewrite );
  • inc/options/class-wpseo-options.php line 355
    apply_filters( "default_option_{$option}", $default_value, $option, $passed_default );
  • inc/class-wpseo-meta.php line 909
    do_action( 'delete_post_meta', $meta_ids, null, null, null );
  • inc/class-wpseo-meta.php line 920
    do_action( 'deleted_post_meta', $meta_ids, null, null, null );
  • src/dashboard/infrastructure/integrations/site-kit.php line 266
    apply_filters( 'googlesitekit_apifetch_preload_paths', [] );
  • src/integrations/watchers/indexable-post-type-change-watcher.php line 145
    do_action( 'new_public_post_type_notifications', $newly_made_public_post_types );
  • src/integrations/watchers/indexable-taxonomy-change-watcher.php line 147
    do_action( 'new_public_taxonomy_notifications', $newly_made_public_taxonomies );
  • inc/options/class-wpseo-options.php line 359
    apply_filters( "option_{$option}", maybe_unserialize( $value ), $option );
  • the_content

    filter
    src/builders/indexable-link-builder.php line 140
    apply_filters( 'the_content', $content );
  • inc/sitemaps/class-sitemap-image-parser.php line 407
    apply_filters( 'wp_get_attachment_url', $src, $post_id );
  • wp-seo-main.php line 247
    do_action( 'wpseo_activate' );
  • inc/options/class-wpseo-taxonomy-meta.php line 126
    apply_filters( 'wpseo_add_extra_taxmeta_term_defaults', [] );
  • admin/class-yoast-form.php line 183
    do_action( 'wpseo_admin_below_content', $this );
  • inc/class-wpseo-utils.php line 881
    apply_filters( 'wpseo_admin_l10n', [] );
  • src/schema-aggregator/infrastructure/enhancement/article-config.php line 42
    apply_filters( "wpseo_article_enhance_{$enhancement}", $default );
  • src/schema-aggregator/infrastructure/enhancement/article-config.php line 62
    apply_filters( 'wpseo_article_enhance_article_body_fallback', true );
  • src/schema-aggregator/infrastructure/enhancement/article-config.php line 59
    apply_filters( 'wpseo_article_enhance_body_when_excerpt_exists', false );
  • src/schema-aggregator/infrastructure/enhancement/article-config.php line 23
    apply_filters( "wpseo_article_enhance_config_{$key}", $the_default );
  • src/generators/breadcrumbs-generator.php line 150
    apply_filters( 'wpseo_breadcrumb_indexables', $indexables, $context );
  • src/presenters/breadcrumbs-presenter.php line 228
    apply_filters( 'wpseo_breadcrumb_output_wrapper', 'span' );
  • src/presenters/breadcrumbs-presenter.php line 245
    apply_filters( 'wpseo_breadcrumb_separator', $this->helpers->options->get( 'breadcrumbs-sep' ) );
  • wp-seo-main.php line 271
    do_action( 'wpseo_deactivate' );
  • inc/options/class-wpseo-option.php line 411
    apply_filters( 'wpseo_defaults', $this->defaults, $this->option_name );
  • inc/options/class-wpseo-option-titles.php line 204
    do_action( 'wpseo_double_clean_titles' );
  • src/integrations/third-party/elementor.php line 594
    apply_filters( 'wpseo_elementor_hidden_fields', '' );
  • inc/class-wpseo-utils.php line 768
    apply_filters( "wpseo_enable_editor_features_{$post_type}", WPSEO_Options::get( 'display-metabox-pt-' . $post_type ) );
  • inc/class-wpseo-utils.php line 644
    apply_filters( 'wpseo_format_admin_url', $formatted_url );
  • wpseo_head

    action
    src/integrations/front-end-integration.php line 457
    do_action( 'wpseo_head' );
  • inc/sitemaps/class-sitemaps-admin.php line 110
    do_action( 'wpseo_hit_sitemap_index' );
  • src/integrations/admin/link-count-columns-integration.php line 112
    apply_filters( 'wpseo_link_count_post_types', $this->post_type_helper->get_accessible_post_types() );
  • src/integrations/admin/integrations-page.php line 287
    apply_filters( 'wpseo_mastodon_active', false );
  • inc/class-wpseo-meta.php line 955
    do_action( 'wpseo_meta_clean_up' );
  • src/integrations/front-end-integration.php line 615
    apply_filters( 'wpseo_output_enhanced_slack_data', true );
  • src/integrations/front-end-integration.php line 612
    apply_filters( 'wpseo_output_twitter_card', true );
  • src/schema-aggregator/infrastructure/enhancement/person-config.php line 38
    apply_filters( "wpseo_person_enhance_{$enhancement}", $default );
  • src/schema-aggregator/infrastructure/enhancement/person-config.php line 21
    apply_filters( "wpseo_person_enhance_config_{$key}", $the_default );
  • src/user-meta/user-interface/custom-meta-integration.php line 116
    do_action( 'wpseo_render_user_profile', $user );
  • inc/class-wpseo-meta.php line 535
    apply_filters( "wpseo_sanitize_post_meta_{$meta_key}", $clean, $meta_value, $field_def, $meta_key );
  • inc/options/class-wpseo-taxonomy-meta.php line 298
    apply_filters( "wpseo_sanitize_tax_meta_{$key}", $clean[ $key ], ( $meta_data[ $key ] ?? null ), ( $old_meta[ $key ] ?? null ) );
  • src/schema-aggregator/infrastructure/config.php line 121
    apply_filters( 'wpseo_schema_aggregator_cache_enabled', true );
  • src/schema-aggregator/infrastructure/config.php line 102
    apply_filters( 'wpseo_schema_aggregator_cache_ttl', $cache_ttl );
  • src/schema-aggregator/infrastructure/elements-context-map/filtered-map-loader.php line 36
    apply_filters( 'wpseo_schema_aggregator_elements_context_map', $base_map );
  • src/schema-aggregator/infrastructure/elements-context-map/filtered-map-loader.php line 41
    apply_filters( "wpseo_schema_aggregator_elements_context_map_{$context}", $elements );
  • src/schema-aggregator/infrastructure/filtering-strategy-factory.php line 27
    apply_filters( 'wpseo_schema_aggregator_filtering_strategy', $default_filter );
  • src/schema-aggregator/infrastructure/aggregator-config.php line 69
    apply_filters( 'wpseo_schema_aggregator_post_types', $default_post_types );
  • src/schema-aggregator/infrastructure/schema_map/schema-map-config.php line 26
    apply_filters( 'wpseo_schema_aggregator_schemamap_changefreq', 'daily' );
  • src/schema-aggregator/infrastructure/schema_map/schema-map-config.php line 41
    apply_filters( 'wpseo_schema_aggregator_schemamap_priority', '0.8' );
  • inc/sitemaps/class-sitemaps-renderer.php line 129
    apply_filters( "wpseo_sitemap_{$type}_content", '' );
  • inc/sitemaps/class-sitemaps-renderer.php line 342
    apply_filters( 'wpseo_sitemap_public_url', home_url( 'main-sitemap.xsl' ) );
  • inc/sitemaps/class-sitemaps.php line 129
    apply_filters( 'wpseo_sitemaps_providers', [] );
  • admin/views/tabs/network/integrations.php line 94
    do_action( 'Yoast\WP\SEO\admin_network_integration_after', $integration );
  • src/integrations/admin/background-indexing-integration.php line 267
    apply_filters( 'Yoast\WP\SEO\enable_cron_indexing', true );

Generated from Yoast 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: