Yoast\WP\SEO\Presentations

Indexable_Presentation::generate_title()publicYoast 1.0

Generates the title.

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

Хуков нет.

Возвращает

Строку. The title.

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

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

Код Indexable_Presentation::generate_title() Yoast 24.4

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

	return '';
}