Yoast\WP\SEO\Editors\Domain\Seo
Social::to_legacy_array
Returns the data as an array format meant for legacy use.
Метод класса: Social{}
Хуков нет.
Возвращает
Массив<Строку>.
Использование
$Social = new Social(); $Social->to_legacy_array(): array;
Код Social::to_legacy_array() Social::to legacy array Yoast 27.7
public function to_legacy_array(): array {
return [
'social_title_template' => $this->social_title_template,
'social_description_template' => $this->social_description_template,
'social_image_template' => $this->social_image_template,
'first_content_image' => $this->social_first_content_image,
];
}