Yoast\WP\SEO\AI\Content_Planner\Domain

Section::to_array │ public │ Yoast 1.0

Returns this object in array format.

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

Хуков нет.

Возвращает

array<string,. string|array<string>|null> The section as an array.

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

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

Код Section::to_array() Yoast 28.7

public function to_array(): array {
	return [
		'subheading_text' => $this->subheading_text,
		'content_notes'   => $this->content_notes,
	];
}