W3cubDocs

/WordPress

WP_Sitemaps_Users::__construct()

WP_Sitemaps_Users constructor.

Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-users.php

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

Changelog

Version Description
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_sitemaps_users/__construct