Yoast\WP\SEO\Presentations
Indexable_Author_Archive_Presentation::generate_title() public Yoast 1.0
Generates the title.
{} Это метод класса: Indexable_Author_Archive_Presentation{}
Хуков нет.
Возвращает
Строку. The title.
Использование
$Indexable_Author_Archive_Presentation = new Indexable_Author_Archive_Presentation(); $Indexable_Author_Archive_Presentation->generate_title();
Код Indexable_Author_Archive_Presentation::generate_title() Indexable Author Archive Presentation::generate title Yoast 15.6.2
public function generate_title() {
if ( $this->model->title ) {
return $this->model->title;
}
$option_titles_key = 'title-author-wpseo';
$title = $this->options->get( $option_titles_key );
if ( $title ) {
return $title;
}
return $this->options->get_title_default( $option_titles_key );
}