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