Yoast\WP\SEO\Introductions\Domain

Introduction_Item::to_array()publicYoast 1.0

Returns an array representation of the data.

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

Хуков нет.

Возвращает

Массив. Returns in an array format.

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

$Introduction_Item = new Introduction_Item();
$Introduction_Item->to_array();

Код Introduction_Item::to_array() Yoast 24.4

public function to_array() {
	return [
		'id'       => $this->get_id(),
		'priority' => $this->get_priority(),
	];
}