Yoast\WP\SEO\Presentations

Indexable_Error_Page_Presentation::generate_title()publicYoast 1.0

Generates the title.

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

Хуков нет.

Возвращает

Строку. The title.

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

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

Код Indexable_Error_Page_Presentation::generate_title() Yoast 19.11

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

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