Gets an array of sitemap providers.

Return Return

(WP_Sitemaps_Provider[]) Array of sitemap providers.

Top ↑

Source Source

File: wp-includes/sitemaps.php

function wp_get_sitemap_providers() {
	$sitemaps = wp_sitemaps_get_server();

	return $sitemaps->registry->get_providers();

Top ↑

Changelog Changelog

Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.