How can I use WordPress hooks for Zoom in Amelia
Amelia provides several Zoom-specific hooks that let you modify Zoom meeting data or execute custom code during meeting creation, updates, deletion, or user retrieval. These hooks allow you to extend Zoom workflows without modifying Amelia’s core files, so your custom logic remains safe during updates.
What hooks run before a Zoom meeting is created?
amelia_before_zoom_meeting_created_filter
Type: filter
Use this filter to modify Zoom meeting data before Amelia creates the meeting.
Example:
function example($data, $providerId) {
return $data;
}
add_filter('amelia_before_zoom_meeting_created_filter', 'example', 10, 2);
amelia_before_zoom_meeting_created
Type: action
Use this action to run custom logic before a Zoom meeting is created.
Example:
function example($data, $providerId) {
// do action
}
add_action('amelia_before_zoom_meeting_created', 'example', 10, 2);
What hooks run before a Zoom meeting is updated?
amelia_before_zoom_meeting_updated_filter
Type: filter
Use this filter to change Zoom meeting data before Amelia updates the meeting.
Example:
function example($data, $meetingId) {
return $data;
}
add_filter('amelia_before_zoom_meeting_updated_filter', 'example', 10, 2);
amelia_before_zoom_meeting_updated
Type: action
Use this action to trigger your own code before Amelia updates a Zoom meeting.
Example:
function example($data, $meetingId) {
// do action
}
add_action('amelia_before_zoom_meeting_updated', 'example', 10, 2);
How do I modify or act on Zoom users returned by Amelia?
amelia_get_zoom_users_filter
Type: filter
Use this filter to modify the list of Zoom users returned for employee selection.
Example:
function example($zoomResult) {
return $zoomResult;
}
add_filter('amelia_get_zoom_users_filter', 'example', 10, 1);
amelia_get_zoom_users
Type: action
Use this action to trigger logic before Zoom users are returned for employee connection.
Example:
function example($zoomResult) {
// do action
}
add_action('amelia_get_zoom_users', 'example', 10, 1);
What hooks run before a Zoom meeting is deleted?
amelia_before_zoom_meeting_deleted_filter
Type: filter
Use this filter to modify the meeting ID or related data before deletion.
Example:
function example($meetingId) {
return $meetingId;
}
add_filter('amelia_before_zoom_meeting_deleted_filter', 'example', 10, 1);
amelia_before_zoom_meeting_deleted
Type: action
Use this action to execute custom code before a meeting is deleted.
Example:
function example($meetingId) {
// do action
}
add_action('amelia_before_zoom_meeting_deleted', 'example', 10, 1);
What should I keep in mind when using Zoom hooks?
- Test all hook logic on a staging site before applying it to production.
- Filters must always return the expected data type or Zoom actions may fail.
- Keep your custom code inside a child theme or custom plugin so it persists through updates.
- Always confirm that your Zoom integration is configured correctly before debugging hooks.