WordPress at a glance
function is not described

WP_Sitemaps_Provider::get_object_subtypes() public WP 5.5.0

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

{} It's a method of the class: 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 5.5.1

<?php
public function get_object_subtypes() {
	return array();
}