onBeforeUpdateZoomMeeting

Trigger event to perform some checks before updating an existing Zoom meeting.

Parameters

$meeting VAPZoomMeeting The instance that incapsulates the meeting details.
$order array An associative array containing the appointment information.

Return Value

None.

1.1

The example below explains how to register a callback that logs the meeting details before completing the update.

// hook used to log the meeting details before the update
public function onBeforeUpdateZoomMeeting($meeting, $order)
{
    // get logger factory
    $logger = VAPZoomLogFactory::getInstance();

    // track meeting details
    $logger->track('Meeting Before Update', $meeting->getProperties());
}

onAfterUpdateZoomMeeting

Trigger event to perform additional actions after updating an existing Zoom meeting.

It is possible to combine this hook with the previous one in order to fetch what's changed in the meeting record.

Parameters

$meeting VAPZoomMeeting The instance that incapsulates the meeting details.
$order array An associative array containing the appointment information.

Return Value

None.

1.1

The example below explains how to register a callback that logs the meeting details after completing the update. 

// hook used to log the meeting details after the update
public function onAfterUpdateZoomMeeting($meeting, $order)
{
    // get logger factory
    $logger = VAPZoomLogFactory::getInstance();

    // track meeting details
    $logger->track('Meeting After Update', $meeting->getProperties());
}
Last Update: 2020-12-23 11:18
Helpful?