Uses
Uses | Description |
---|---|
wp-includes/sitemaps.php: wp_sitemaps_get_server() | Retrieves the current Sitemaps server instance. |
Gets an array of sitemap providers.
(WP_Sitemaps_Provider[]) Array of sitemap providers.
File: wp-includes/sitemaps.php
function wp_get_sitemap_providers() { $sitemaps = wp_sitemaps_get_server(); return $sitemaps->registry->get_providers(); }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_get_sitemap_providers