Url::to_update_meeting_link( WP_Post|null $post )

Returns the URL that should be used to update a Zoom API meeting link.


Parameters

$post

(WP_Post|null) (Required) A post object to update the meeting for.


Top ↑

Return

(string) The URL to update the Zoom Meeting.


Top ↑

Source

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

	public function to_update_meeting_link( \WP_Post $post ) {
		$nonce = wp_create_nonce( Meetings::$update_action );

		return add_query_arg( [
			'action'              => 'ev_zoom_meetings_update',
			Plugin::$request_slug => $nonce,
			'post_id'             => $post->ID,
			'_ajax_nonce'         => $nonce,
		], admin_url( 'admin-ajax.php' ) );
	}

Top ↑

Changelog

Changelog
Version Description
1.4.0 Introduced.