Url::to_remove_meeting_link( WP_Post $post )

Returns the URL that should be used to remove an event Zoom Meeting URL.


Parameters

$post

(WP_Post) (Required) A post object to remove the meeting from.


Top ↑

Return

(string) The URL to remove the Zoom Meeting.


Top ↑

Source

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

	public function to_remove_meeting_link( \WP_Post $post ) {
		$nonce = wp_create_nonce( Meetings::$remove_action );

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

Top ↑

Changelog

Changelog
Version Description
1.0.0 Introduced.