WordPress at a glance
функция не описана

WP_Sitemaps_Registry::get_providers() public WP 5.5.0

Returns all registered sitemap providers.

It's a method of the class: WP_Sitemaps_Registry{}

Хуков нет.

Возвращает

WP_Sitemaps_Provider[]. Array of sitemap providers.

Использование

$WP_Sitemaps_Registry = new WP_Sitemaps_Registry();
$WP_Sitemaps_Registry->get_providers();

Changelog

Since 5.5.0 Introduced.

Код WP_Sitemaps_Registry::get_providers() WP 5.5.1

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