Title: How will the plugin work with new WordPress Core function?
Last modified: July 23, 2020

---

# How will the plugin work with new WordPress Core function?

 *  Resolved [AndyHenderson](https://wordpress.org/support/users/andyhenderson/)
 * (@andyhenderson)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/)
 * WordPress is [adding an XML sitemap generator in core](https://make.wordpress.org/core/2020/07/22/new-xml-sitemaps-functionality-in-wordpress-5-5/).
   I much prefer your plug-in – in particular its flexibility and the way I can 
   control settings via a proper UI.
 * Unfortunately, the core functionality is activated automatically in WordPress
   5.5 and the only way I can see to prevent that happening is to execute this code:
 * `remove_action( 'init', 'wp_sitemaps_get_server' );`
 * Seems unreasonable that there’s no mechanism for people unwilling/unable to engage
   in code. I did object but got no response.
 * Will you be releasing a new version of the plug-in that disables the WordPress
   version automatically?
 * Andy Henderson

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Luke Cavanagh](https://wordpress.org/support/users/lukefiretoss/)
 * (@lukefiretoss)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13188632)
 * Also, this code snippet works to disable the sitemap XML feature in WordPress
   5.5.
 * `add_filter( 'wp_sitemaps_enabled', '__return_false' );`
 *  Thread Starter [AndyHenderson](https://wordpress.org/support/users/andyhenderson/)
 * (@andyhenderson)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13189091)
 * According to [this page](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/?output_format=md):“
   Doing that will not remove the rewrite rules used for the sitemaps, as they are
   needed in order to send appropriate responses when sitemaps are disabled.”
 * I read that as saying that the site will not return a sitemap at all. It certainly
   seems to offer the possibility of interference with sitemap plug-ins.
 * [This page](https://make.wordpress.org/core/2020/06/10/merge-announcement-extensible-core-sitemaps/)
   linked from the one above says to use:
 * `remove_action( 'init', 'wp_sitemaps_get_server' );`
 * “to disable initialization of any sitemap functionality”.
 * Clear as mud.
 * Andy
    -  This reply was modified 5 years, 10 months ago by [AndyHenderson](https://wordpress.org/support/users/andyhenderson/).
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13336417)
 * [@andyhenderson](https://wordpress.org/support/users/andyhenderson/)
 * Great question!
 * With the latest release of core sitemaps in WordPress 5.5, WordPress provides
   its users with a basic version of XML sitemaps. At this time, there are a few
   customization options for sitemaps. That’s why in our latest release of Google
   XML Sitemaps 4.1.1, we have disabled WordPress core sitemaps in order to allow
   our existing and new users to take advantage of our robust sitemap offering.
 * If there any else we can help you with, please let us know.
 *  Thread Starter [AndyHenderson](https://wordpress.org/support/users/andyhenderson/)
 * (@andyhenderson)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13337529)
 * Great. I was hoping that you would do that.
 * Andy
 *  Plugin Author [Auctollo](https://wordpress.org/support/users/auctollo/)
 * (@auctollo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13481074)
 * Since the response above answers the question, we will move forward and mark 
   this as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How will the plugin work with new WordPress Core function?’ is closed
to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

## Tags

 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 5 replies
 * 3 participants
 * Last reply from: [Auctollo](https://wordpress.org/support/users/auctollo/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/how-will-the-plugin-work-with-new-wordpress-core-function/#post-13481074)
 * Status: resolved