W3cubDocs

/WordPress

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';
	}

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_taxonomies/__construct