WP_Sitemaps_Registry::get_providers() WordPress Method
The WP_Sitemaps_Registry::get_providers() method is used to get all registered sitemap providers.
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |