W3cubDocs

/WordPress

WP_Sitemaps_Registry::get_providers()

Returns all registered sitemap providers.

Return

(WP_Sitemaps_Provider[]) Array of sitemap providers.

Source

File: wp-includes/sitemaps/class-wp-sitemaps-registry.php

public function get_providers() {
		return $this->providers;
	}

Changelog

Version Description
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_sitemaps_registry/get_providers