Google_Calendar_Helpers::redirect_with_success( string $success_message = '' )

Method redirect_with_success.


Description Description

Redirects with a success message.


Top ↑

Parameters Parameters

$success_message

(Optional) The success message. return void.

Default value: ''


Source Source

File: src/integrations/google-calendar/helpers/google-calendar-helpers.php

	public function redirect_with_success( $success_message = '' ) {

		wp_safe_redirect(
			$this->get_settings_page_url(
				array(
					'auth_success' => $success_message,
				)
			)
		);

		exit;
	}