Yoast\WP\SEO\Presentations

Indexable_Post_Type_Archive_Presentation::generate_source()publicYoast 1.0

Generates the source.

{} Это метод класса: Indexable_Post_Type_Archive_Presentation{}

Хуков нет.

Возвращает

Массив. The source.

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

$Indexable_Post_Type_Archive_Presentation = new Indexable_Post_Type_Archive_Presentation();
$Indexable_Post_Type_Archive_Presentation->generate_source();

Код Indexable_Post_Type_Archive_Presentation::generate_source() Yoast 19.7.1

public function generate_source() {
	return [ 'post_type' => $this->model->object_sub_type ];
}