WordPress at a glance
function is not described

WP_Sitemaps::__construct() public WP 5.5.0

WP_Sitemaps constructor.

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

No Hooks.

Return

Null. Nothing.

Usage

$WP_Sitemaps = new WP_Sitemaps();
$WP_Sitemaps->__construct();

Changelog

Since 5.5.0 Introduced.

Code of WP_Sitemaps::__construct() WP 5.5.1

<?php
public function __construct() {
	$this->registry = new WP_Sitemaps_Registry();
	$this->renderer = new WP_Sitemaps_Renderer();
	$this->index    = new WP_Sitemaps_Index( $this->registry );
}