Yoast\WP\SEO\Presentations

Indexable_Post_Type_Presentation::generate_source()publicYoast 1.0

Generates the source.

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

Хуков нет.

Возвращает

Массив. The source.

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

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

Код Indexable_Post_Type_Presentation::generate_source() Yoast 22.3

public function generate_source() {
	return \get_post( $this->model->object_id );
}