What does "Save and restore any custom inclusion and priority links" in the rebuild tab mean?
I use hook_xmlsitemap_links() for generating a number of custom links for sitemaps. I assumed checking this box would keep such links in the xmlsitemap table while unchecking it would clear them from the xmlsitemap table and regenerate them anew.
However, after many tests (because I had a problem described at #1291898: Rebuild processing imaginary nodes), I found that the checkbox never cleared items generated by hook_xmlsitemap_links() from the xmlsitemap table. Eventually, I had to clear that table manually to alleviate/solve the issue.
So, to summarize, I would like to know:
- what does the checkbox do precisely
- if it does not clear items generated by hook_xmlsitemap_links() from the xmlsitemap table, how are such custom items meant be purged and regenerated?