WP_Sitemaps_Posts::__construct()publicWP 5.5.0

WP_Sitemaps_Posts constructor.

Method of the class: WP_Sitemaps_Posts{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 5.5.0 Introduced.

WP_Sitemaps_Posts::__construct() code WP 6.5.3

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