Google_Calendar_Helpers::get_settings_page_url( array $params = array() )

Method get_settings_page_url.


Description Description

Create and retrieve the settings page uri.


Top ↑

Parameters Parameters

$params

(Optional) The url query parameters.

Default value: array()


Top ↑

Return Return

(string) The Google Calendar settings page.


Source Source

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

	public function get_settings_page_url( $params = array() ) {

		return add_query_arg(
			array_merge(
				array(
					'post_type'   => 'uo-recipe',
					'page'        => 'uncanny-automator-config',
					'tab'         => 'premium-integrations',
					'integration' => 'google-calendar',
				),
				$params
			),
			admin_url( 'edit.php' )
		);
	}