Yoast\WP\SEO\Editors\Domain\Seo

Social::to_legacy_array()publicYoast 1.0

Returns the data as an array format meant for legacy use.

Метод класса: Social{}

Хуков нет.

Возвращает

Массив<Строку>.

Использование

$Social = new Social();
$Social->to_legacy_array(): array;

Код Social::to_legacy_array() Yoast 25.1

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,
	];
}