Yoast_Notification::to_array()publicYoast 1.0

Return the object properties as an array.

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

Хуков нет.

Возвращает

Массив.

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

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

Код Yoast_Notification::to_array() Yoast 22.3

public function to_array() {
	return [
		'message' => $this->message,
		'options' => $this->options,
	];
}