Yoast\WP\SEO\Generators
Open_Graph_Image_Generator::get_image_container()
Retrieves an instance of the image container.
Метод класса: Open_Graph_Image_Generator{}
Хуков нет.
Возвращает
Images
. The image container.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_image_container();
Код Open_Graph_Image_Generator::get_image_container() Open Graph Image Generator::get image container Yoast 21.5
protected function get_image_container() { $image_container = new Images( $this->image, $this->url ); $image_container->set_helpers( $this->open_graph_image ); return $image_container; }