Url::to_change_account_status_link( string $account_id )

Returns the URL that should be used to change an account status.


Parameters

$account_id

(string) (Required) The Zoom Account ID to change the status.


Top ↑

Return

(string) The URL to change an account status.


Top ↑

Source

File: src/Tribe/Meetings/Zoom/Url.php

	public function to_change_account_status_link( $account_id ) {
		$nonce = wp_create_nonce( Settings::$status_action );

		return add_query_arg( [
			'action'              => 'ev_zoom_settings_account_status',
			Plugin::$request_slug => $nonce,
			'zoom_account_id'     => $account_id,
			'_ajax_nonce'         => $nonce,
		], admin_url( 'admin-ajax.php' ) );
	}

Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.