WPSEO_Dismissible_Notification::redirect_to_dashboard()protectedYoast 1.0

Redirects the user back to the dashboard.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->redirect_to_dashboard();

Код WPSEO_Dismissible_Notification::redirect_to_dashboard() Yoast 22.3

protected function redirect_to_dashboard() {
	wp_safe_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) );
	exit;
}