WP_Sitemaps_Provider::get_object_subtypes()publicWP 5.5.0

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

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

No Hooks.

Return

Array. List of object subtypes objects keyed by their name.

Usage

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

Changelog

Since 5.5.0 Introduced.

Code of WP_Sitemaps_Provider::get_object_subtypes() WP 6.1.1

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