WP_Query::is_sitemap(): bool

In this article

Determines whether the query is for a sitemap.

Return

bool Whether the query is for a sitemap.

Source

public function is_sitemap(): bool {
	return $this->is_sitemap;
}

Changelog

VersionDescription
7.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.