Google_Calendar_Helpers::get_disconnect_url()

Method get_disconnect_url.

Contents


Return Return

(string) Returns the wp_ajax disconnect url callback.


Source Source

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

	public function get_disconnect_url() {

		return add_query_arg(
			array(
				'action' => 'automator_google_calendar_disconnect_user',
				'nonce'  => wp_create_nonce( 'automator-google-calendar-user-disconnect' ),
			),
			admin_url( 'admin-ajax.php' )
		);
	}