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

WP_Sitemaps_Index::__construct() public WP 5.5.0

WP_Sitemaps_Index constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WP_Sitemaps_Index = new WP_Sitemaps_Index();
$WP_Sitemaps_Index->__construct( $registry );
$registry(WP_Sitemaps_Registry) (required)
Sitemap provider registry.

Changelog

Since 5.5.0 Introduced.

Код WP_Sitemaps_Index::__construct() WP 5.5.1

<?php
public function __construct( WP_Sitemaps_Registry $registry ) {
	$this->registry = $registry;
}