xmlsf_sitemaps_enabled | Admin, XML Sitemap, Google News | Filters the sitemap states. Passes parameters enabled state true|false and which sitemap any|sitemap|news . You can use __return_false to turn off all sitemaps. |
xmlsf_defaults | Admin, XML Sitemap, Google News | Filters the default array values for different option groups. |
xmlsf_request | XML Sitemap | Filters request when an XML sitemap request is found, can be used for plugin compatibility. |
xmlsf_news_request | Google News | Filters request when a news sitemap request is found can be used for plugin compatibility. |
xmlsf_stylesheet_url | XML Sitemap, Google News | Filters the sitemaps style sheet URL. |
xmlsf_allowed_domain | Removed since 5.4 | Filters the response when checking the URL against allowed domains. Passes variable $url ; must return true or false. Use filter xmlsf_entry_url instead. |
xmlsf_index_url_args | XML Sitemap Index | Filters the index URL arguments array. |
xmlsf_index_archive_data | XML Sitemap Index | Filters the post type sitemaps in the index. |
xmlsf_entry_url | XML Sitemap | Filters the entry URL in XML Sitemap context. Passes the entry $url , sitemap type home|post_type|taxonomy|author |custom and entry object/data; must return a URL or false. Returning false will exclude the entry from the sitemap. |
xmlsf_news_entry_url | Google News | Filters the entry URL in Google News Sitemap context. Passes the entry $url and entry object; must return a URL or false. Returning false will exclude the entry from the news sitemap. |
xmlsf_excluded | XML Sitemap | Filters the response when checking the post for exclusion flags in XML Sitemap context. Passes the post exclusion flag and $post_id ; must return true or false. |
xmlsf_news_excluded | Google News | Filters the response when checking the post for exclusion flags in Google News sitemap context. Passes variable $post_id ; must return true or false. |
xmlsf_news_keywords | Google News | Filters the news keywords array. |
xmlsf_news_stock_tickers | Google News | Filters the news stock tickers array. |
xmlsf_disabled_post_types | XML Sitemap, Google News | Filters the post types that should be unavailable for sitemaps. Passes an array of post types to exclude; must return an array. |
xmlsf_disabled_taxonomies | XML Sitemap | Filters the taxonomies that should be unavailable for sitemaps. Passes an array of taxonomies to exclude; must return an array. |
the_title_xmlsitemap | Removed since 5.4 | Filters the Image title and caption tags. |
xmlsf_news_publication_name | Google News | Filters the Google News publication name. |
xmlsf_news_title | Google News | Filters the Google News post title. |
xmlsf_root_data | XML Sitemap | Filters the root data URLs (with priority and lastmod ) array. |
xmlsf_custom_urls | XML Sitemap | Filters the custom URLs array. |
xmlsf_custom_sitemaps | XML Sitemap Index | Filters the custom sitemaps array. |
xmlsf_news_language | Google News | Filters the post language tag used in the news sitemap. Passes variable $post_id ; must return a 2 or 3 letter ISO 639 language code with the exception of zh-cn and zh-tw . |
xmlsf_post_types | XML Sitemap Index | Filters the post types array for the XML sitemaps index. |
xmlsf_post_priority | XML Sitemap | Filters a post priority value. Passes variables $priority and $post->ID . Must return a float value between 0.1 and 1.0 |
xmlsf_term_priority | XML Sitemap | Filters a taxonomy term priority value. Passes variables $priority and $term->slug . Must return a float value between 0.1 and 1.0 |
xmlsf_author_has_published_posts | XML Sitemap | Filters the has_published_posts query argument in the author archive. Passes variable array('post') . Must return a boolean or an array of one or more (public) post type slugs. |
xmlsf_news_post_types | Admin, Google News | Filters the post types array for both the Google News sitemap and the Google News settings page. |
xmlsf_stylesheet_url | XML Sitemap, Google News | Filters the sitemaps style sheet URL. |
xmlsf_get_author_args | XML Sitemap | Filters the get_users() arguments before author sitemap creation. |
xmlsf_skip_user | XML Sitemap | Allows excluding users from the author sitemap. Passes the $user object with ID, login, spam, deleted properties, unless set otherwise via the fields argument through the xmlsf_get_author_args filter. Expects a boolean value (true|false) in return. False by default. Since v5.3. |
xmlsf_news_help_tabs | Admin | Fired after the Google News admin help tabs have been added. |