Yoast\WP\SEO\Presentations
Indexable_Presentation::generate_open_graph_image()
Generates the open graph image URL.
Метод класса: Indexable_Presentation{}
Хуков нет.
Возвращает
Строку
. The open graph image URL.
Использование
$Indexable_Presentation = new Indexable_Presentation(); $Indexable_Presentation->generate_open_graph_image();
Код Indexable_Presentation::generate_open_graph_image() Indexable Presentation::generate open graph image Yoast 22.4
public function generate_open_graph_image() { if ( $this->model->open_graph_image ) { return $this->model->open_graph_image; } return $this->values_helper->get_open_graph_image( '', $this->model->object_type, $this->model->object_sub_type ); }