Url::to_delete_account_link( string $account_id )
Returns the URL that should be used to delete an account.
Contents
Parameters
- $account_id
-
(string) (Required) The Zoom Account ID to change the status.
Return
(string) The URL to delete an account.
Source
File: src/Tribe/Meetings/Zoom/Url.php
public function to_delete_account_link( $account_id ) {
$nonce = wp_create_nonce( Settings::$delete_action );
return add_query_arg( [
'action' => 'ev_zoom_settings_delete_account',
Plugin::$request_slug => $nonce,
'zoom_account_id' => $account_id,
'_ajax_nonce' => $nonce,
], admin_url( 'admin-ajax.php' ) );
}
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |