WordPress at a glance
function is not described

WP_Sitemaps_Posts::__construct() public WP 5.5.0

WP_Sitemaps_Posts constructor.

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

No Hooks.

Return

Null. Nothing.

Usage

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

Changelog

Since 5.5.0 Introduced.

Code of WP_Sitemaps_Posts::__construct() WP 5.5.2

<?php
public function __construct() {
	$this->name        = 'posts';
	$this->object_type = 'post';
}