WP_Sitemaps::__construct()

In this article

WP_Sitemaps constructor.

Source

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

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.