WPSEO_Sitemaps::output
Spit out the generated sitemap.
Метод класса: WPSEO_Sitemaps{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WPSEO_Sitemaps = new WPSEO_Sitemaps(); $WPSEO_Sitemaps->output();
Код WPSEO_Sitemaps::output() WPSEO Sitemaps::output Yoast 26.9
public function output() {
$this->send_headers();
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaping sitemap as either xml or html results in empty document.
echo $this->renderer->get_output( $this->sitemap );
}