WP_Sitemaps_Provider::get_object_subtypes()publicWP 5.5.0

Returns the list of supported object subtypes exposed by the provider.

Метод класса: WP_Sitemaps_Provider{}

Хуков нет.

Возвращает

Массив. List of object subtypes objects keyed by their name.

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

$WP_Sitemaps_Provider = new WP_Sitemaps_Provider();
$WP_Sitemaps_Provider->get_object_subtypes();

Список изменений

С версии 5.5.0 Введена.

Код WP_Sitemaps_Provider::get_object_subtypes() WP 6.6.2

public function get_object_subtypes() {
	return array();
}