Yoast\WP\SEO\Dashboard\Application\Tracking
Setup_Steps_Tracking::to_array
Return this object represented by a key value array.
Метод класса: Setup_Steps_Tracking{}
Хуков нет.
Возвращает
Массив<Строку>. The tracking data
Использование
$Setup_Steps_Tracking = new Setup_Steps_Tracking(); $Setup_Steps_Tracking->to_array(): array;
Код Setup_Steps_Tracking::to_array() Setup Steps Tracking::to array Yoast 28.2
public function to_array(): array {
return [
'setupWidgetLoaded' => $this->get_setup_widget_loaded(),
'firstInteractionStage' => $this->get_first_interaction_stage(),
'lastInteractionStage' => $this->get_last_interaction_stage(),
'setupWidgetTemporarilyDismissed' => $this->get_setup_widget_temporarily_dismissed(),
'setupWidgetPermanentlyDismissed' => $this->get_setup_widget_permanently_dismissed(),
];
}