WP_Sitemaps_Users::__construct() WordPress Method
The WP_Sitemaps_Users::__construct() function initializes the class by setting up the properties required for the sitemap functionality. It also includes the necessary files and sets up the hooks for the sitemaps.
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'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |