On this page
WP_Sitemaps_Index::__construct( WP_Sitemaps_Registry $registry )
WP_Sitemaps_Index constructor.
Parameters
$registryWP_Sitemaps_Registry Required-
Sitemap provider registry.
Source
File: wp-includes/sitemaps/class-wp-sitemaps-index.php. View all references
public function __construct( WP_Sitemaps_Registry $registry ) {
$this->registry = $registry;
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Sitemaps::__construct() wp-includes/sitemaps/class-wp-sitemaps.php | WP_Sitemaps constructor. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_sitemaps_index/__construct