Yoast\WP\SEO\Presentations
Indexable_Search_Result_Page_Presentation::generate_title()
Generates the title.
Метод класса: Indexable_Search_Result_Page_Presentation{}
Хуков нет.
Возвращает
Строку
. The title.
Использование
$Indexable_Search_Result_Page_Presentation = new Indexable_Search_Result_Page_Presentation(); $Indexable_Search_Result_Page_Presentation->generate_title();
Код Indexable_Search_Result_Page_Presentation::generate_title() Indexable Search Result Page Presentation::generate title Yoast 24.7
public function generate_title() { if ( $this->model->title ) { return $this->model->title; } return $this->options->get_title_default( 'title-search-wpseo' ); }