                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ) {
				\update_option( 'wp_attachment_pages_enabled', (int) ! $new_value['disable-attachment'] );
			}

			switch ( $new_value['disable-attachment'] ) {
				case false:
					$this->indexing_helper->set_reason( Indexing_Reasons::REASON_ATTACHMENTS_MADE_ENABLED );
					return;
				case true:
					$this->attachment_cleanup->remove_attachment_indexables( false );
					$this->attachment_cleanup->clean_attachment_links_from_target_indexable_ids( false );

					if ( $this->indexable_helper->should_index_indexables() && ! \wp_next_scheduled( Cleanup_Integration::START_HOOK ) ) {
						// This just schedules the cleanup routine cron again.
						\wp_schedule_single_event( ( \time() + ( \MINUTE_IN_SECONDS * 5 ) ), Cleanup_Integration::START_HOOK );
					}
					return;
			}
		}
	}
}
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/wp-content/plugins/xml-sitemap-feed/assets/sitemap.xsl?ver=5.7.6"?>
<!-- generated-on="2026-06-10T15:47:33+00:00" -->
<!-- generator="XML Sitemap & Google News for WordPress" -->
<!-- generator-url="https://status301.net/wordpress-plugins/xml-sitemap-feed/" -->
<!-- generator-version="5.7.6" -->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2026.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2025.xml</loc><lastmod>2026-03-27T20:43:52+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2024.xml</loc><lastmod>2025-08-26T00:11:46+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2023.xml</loc><lastmod>2025-01-19T16:37:55+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2022.xml</loc><lastmod>2025-01-19T16:41:10+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2021.xml</loc><lastmod>2024-11-02T01:41:43+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2020.xml</loc><lastmod>2023-12-08T23:16:25+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2019.xml</loc><lastmod>2025-05-27T21:55:19+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2018.xml</loc><lastmod>2026-02-05T21:05:54+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-post.2017.xml</loc><lastmod>2025-01-21T16:26:17+01:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-posttype-page.xml</loc><lastmod>2025-10-21T15:00:06+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-taxonomy-category.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-taxonomy-post_tag.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-taxonomy-post_format.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-author.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
<sitemap><loc>https://motoristika.cz/sitemap-news.xml</loc><lastmod>2026-06-09T22:09:16+02:00</lastmod></sitemap>
</sitemapindex>
