Zoom_Provider::check_zoom_meeting()

Check Zoom Meeting on Front End.


Return

(bool|void) Whether the update completed.


Top ↑

Source

File: src/Tribe/Meetings/Zoom_Provider.php

	public function check_zoom_meeting() {

		if ( ! is_singular( Events_Plugin::POSTTYPE ) ) {
			return;
		}

		global $post;

		$transient_name = $post->ID . 'zoom_pw_last_check';

		$last_check = (string) get_transient( $transient_name );
		if ( $last_check ) {
			return;
		}

		set_transient( $transient_name, true, HOUR_IN_SECONDS );

		return $this->container->make( Password::class )->update_password_from_zoom( $post );
	}

Top ↑

Changelog

Changelog
Version Description
1.9.0 - moved logic to Password->check_zoom_meeting().
1.0.4 Introduced.