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