wp_get_sitemap_providers(): WP_Sitemaps_Provider[]

Gets an array of sitemap providers.


Return

WP_Sitemaps_Provider[] Array of sitemap providers.


Top ↑

Source

File: wp-includes/sitemaps.php. View all references

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

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