Yoast\WP\SEO\Presentations

Indexable_Author_Archive_Presentation::generate_open_graph_images()publicYoast 1.0

Generates the open graph images.

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

Хуков нет.

Возвращает

Массив. The open graph images.

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

$Indexable_Author_Archive_Presentation = new Indexable_Author_Archive_Presentation();
$Indexable_Author_Archive_Presentation->generate_open_graph_images();

Код Indexable_Author_Archive_Presentation::generate_open_graph_images() Yoast 20.0

public function generate_open_graph_images() {
	if ( $this->context->open_graph_enabled === false ) {
		return [];
	}

	return $this->open_graph_image_generator->generate_for_author_archive( $this->context );
}