Yoast\WP\SEO\Editors\Domain\Seo

Social::to_array()publicYoast 1.0

Returns the data as an array format.

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

Хуков нет.

Возвращает

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

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

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

Код Social::to_array() Yoast 25.1

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