Yoast\WP\SEO\Presentations

Indexable_Home_Page_Presentation::generate_title()publicYoast 1.0

Generates the title.

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

Хуков нет.

Возвращает

Строку. The title.

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

$Indexable_Home_Page_Presentation = new Indexable_Home_Page_Presentation();
$Indexable_Home_Page_Presentation->generate_title();

Код Indexable_Home_Page_Presentation::generate_title() Yoast 20.0

public function generate_title() {
	if ( $this->model->title ) {
		return $this->model->title;
	}

	return $this->options->get_title_default( 'title-home-wpseo' );
}