Yoast\WP\SEO\Context

Meta_Tags_Context::generate_wordpress_site_name()publicYoast 1.0

Generates the site name from the WordPress options.

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

Хуков нет.

Возвращает

Строку. The site name from the WordPress options.

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

$Meta_Tags_Context = new Meta_Tags_Context();
$Meta_Tags_Context->generate_wordpress_site_name();

Код Meta_Tags_Context::generate_wordpress_site_name() Yoast 19.11

public function generate_wordpress_site_name() {
	return $this->site->get_site_name();
}