WPSEO_Export::export_header()privateYoast 1.0

Writes the header of the export.

Метод класса: WPSEO_Export{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// private - только в коде основоного (родительского) класса
$result = $this->export_header();

Код WPSEO_Export::export_header() Yoast 22.4

private function export_header() {
	$header = sprintf(
		/* translators: %1$s expands to Yoast SEO, %2$s expands to Yoast.com */
		esc_html__( 'These are settings for the %1$s plugin by %2$s', 'wordpress-seo' ),
		'Yoast SEO',
		'Yoast.com'
	);
	$this->write_line( '; ' . $header );
}