WPSEO_Term_Metabox_Formatter::get_image_url()
Gets the image URL for the term's social preview.
Метод класса: WPSEO_Term_Metabox_Formatter{}
Хуков нет.
Возвращает
Строку|null
. The image URL for the social preview.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_image_url();
Код WPSEO_Term_Metabox_Formatter::get_image_url() WPSEO Term Metabox Formatter::get image url Yoast 22.3
protected function get_image_url() { return WPSEO_Image_Utils::get_first_content_image_for_term( $this->term->term_id ); }