WP_Sitemaps_Taxonomies::__construct() WordPress Method
The WP_Sitemaps_Taxonomies::__construct() method is used to create a new sitemap for taxonomies. This sitemap will contain all of the taxonomies for your site.
WP_Sitemaps_Taxonomies::__construct() #
WP_Sitemaps_Taxonomies constructor.
Source
File: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
public function __construct() { $this->name = 'taxonomies'; $this->object_type = 'term'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |