Yoast\WP\SEO\Editors\Domain\Seo
Social::to_array
Returns the data as an array format.
Метод класса: Social{}
Хуков нет.
Возвращает
Массив<Строку>.
Использование
$Social = new Social(); $Social->to_array(): array;
Код Social::to_array() Social::to array Yoast 27.7
public function to_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_social_preview' => $this->social_first_content_image,
];
}