WP_Sitemaps::__construct()
WP_Sitemaps constructor.
Method of the class: WP_Sitemaps{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Sitemaps = new WP_Sitemaps(); $WP_Sitemaps->__construct();
Changelog
Since 5.5.0 | Introduced. |
WP_Sitemaps::__construct() WP Sitemaps:: construct code WP 6.6.2
public function __construct() { $this->registry = new WP_Sitemaps_Registry(); $this->renderer = new WP_Sitemaps_Renderer(); $this->index = new WP_Sitemaps_Index( $this->registry ); }