Password::check_admin_zoom_meeting( WP_Post $event )

Check Zoom Meeting in the admin.


Parameters

$event

(WP_Post) (Required) The event post object.


Top ↑

Return

(bool|void) Whether the update completed.


Top ↑

Source

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

	public function check_admin_zoom_meeting( $event ) {
		if ( ! $event instanceof WP_Post ) {
			// We should only act on event posts, else bail.
			return;
		}

		/** @var \Tribe__Cache $cache */
		$cache    = tribe( 'cache' );
		$transient_name = $event->ID . '_zoom_pw__admin_last_check';

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

		$cache->set_transient( $transient_name, true, MINUTE_IN_SECONDS * 10 );

		return $this->update_password_from_zoom( $event );
	}

Top ↑

Changelog

Changelog
Version Description
1.9.0 Introduced.