Il tuo carrello è vuoto!
Aggiornamento della Riunione
vikappointments_zoom_before_update_meeting
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.
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
add_action('vikappointments_zoom_before_update_meeting', function($meeting, $order)
{
// get logger factory
$logger = VAPZoomLogFactory::getInstance();
// track meeting details
$logger->track('Meeting Before Update', $meeting->getProperties());
}, 10, 2);
vikappointments_zoom_after_update_meeting
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.
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
add_action('vikappointments_zoom_after_update_meeting', function($meeting, $order)
{
// get logger factory
$logger = VAPZoomLogFactory::getInstance();
// track meeting details
$logger->track('Meeting After Update', $meeting->getProperties());
}, 10, 2);
Ultimo aggiornamento: 2020-12-23
Utile?