Yoast\WP\SEO\Presentations
Indexable_Presentation::generate_open_graph_images()
Generates the open graph images.
Метод класса: Indexable_Presentation{}
Хуков нет.
Возвращает
Массив
. The open graph images.
Использование
$Indexable_Presentation = new Indexable_Presentation(); $Indexable_Presentation->generate_open_graph_images();
Код Indexable_Presentation::generate_open_graph_images() Indexable Presentation::generate open graph images Yoast 22.3
public function generate_open_graph_images() { if ( $this->context->open_graph_enabled === false ) { return []; } return $this->open_graph_image_generator->generate( $this->context ); }