

操作ガイド
フックの使用には一定レベルのプログラミングスキルが必要であり、プラグインで提供されるサポートには含まれていません。
読みたいところをタップ
amelia_get_outlook_calendar_auth_url_filter
お客様は、このフィルターを使用して、スタッフがOutlookカレンダーに接続するための認証URLを変更できます。
タイプ: フィルター
例:
function example($authUrl, $employeeId) {
return $authUrl;
}
add_filter('amelia_get_outlook_calendar_auth_url_filter', 'example', 10, 2);
amelia_get_outlook_calendar_auth_url
お客様は、スタッフがOutlookカレンダーに接続するための認証URLが返される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($authUrl, $employeeId) {
// アクションを実行
}
add_action('amelia_get_outlook_calendar_auth_url', 'example', 10, 2);
amelia_before_outlook_calendar_added_filter
お客様は、このフィルターを使用して、Outlookカレンダーオブジェクトがデータベースに保存される前(認証成功後)に変更できます。
タイプ: フィルター
例:
function example($accessToken, $employeeId) {
return $accessToken;
}
add_filter('amelia_before_outlook_calendar_added_filter', 'example', 10, 2);
amelia_before_outlook_calendar_added
お客様は、Outlookカレンダーがデータベースに保存される前(認証成功後)にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($outlookCalendar, $employeeId) {
// アクションを実行
}
add_action('amelia_before_outlook_calendar_added', 'example', 10, 2);
amelia_after_outlook_calendar_added
お客様は、Outlookカレンダーがデータベースに保存された後(認証成功後)にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($outlookCalendar, $employeeId) {
// アクションを実行
}
add_action('amelia_after_outlook_calendar_added', 'example', 10, 2);
amelia_before_outlook_calendar_deleted
お客様は、Outlookカレンダーがデータベースから削除される前(スタッフがアカウントから切断したとき)にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($outlookCalendar, $employeeId) {
// アクションを実行
}
add_action('amelia_before_outlook_calendar_deleted', 'example', 10, 2);
amelia_after_outlook_calendar_deleted
お客様は、Outlookカレンダーがデータベースから削除された後(スタッフがアカウントから切断したとき)にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($outlookCalendar, $employeeId) {
// アクションを実行
}
add_action('amelia_after_outlook_calendar_deleted', 'example', 10, 2);
amelia_before_outlook_calendar_event_added_filter
お客様は、このフィルターを使用して、イベントがOutlookカレンダーに挿入される前のイベントデータを変更できます。
タイプ: フィルター
例:
function example($event, $appointment, $provider) {
return $event;
}
add_filter('amelia_before_outlook_calendar_event_added_filter', 'example', 10, 3);
amelia_before_outlook_calendar_event_added
お客様は、イベントがOutlookカレンダーに挿入される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($event, $appointment, $provider) {
// アクションを実行
}
add_action('amelia_before_outlook_calendar_event_added', 'example', 10, 3);
amelia_after_outlook_calendar_event_added
お客様は、イベントがOutlookカレンダーに挿入された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($event, $appointment, $provider) {
// アクションを実行
}
add_action('amelia_after_outlook_calendar_event_added', 'example', 10, 3);
amelia_before_outlook_calendar_event_updated_filter
お客様は、このフィルターを使用して、イベントがOutlookカレンダーに更新される前のイベントデータを変更できます。
タイプ: フィルター
例:
function example($event, $appointment, $provider) {
return $event;
}
add_filter('amelia_before_outlook_calendar_event_updated_filter', 'example', 10, 3);
amelia_before_outlook_calendar_event_updated
お客様は、イベントがOutlookカレンダーに更新される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($event, $appointment, $provider) {
// アクションを実行
}
add_action('amelia_before_outlook_calendar_event_updated', 'example', 10, 3);
amelia_after_outlook_calendar_event_updated
お客様は、イベントがOutlookカレンダーに更新された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($event, $appointment, $provider) {
// アクションを実行
}
add_action('amelia_after_outlook_calendar_event_updated', 'example', 10, 3);
amelia_before_outlook_calendar_event_deleted
お客様は、イベントがOutlookカレンダーから削除される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($appointment, $provider) {
// アクションを実行
}
add_action('amelia_before_outlook_calendar_event_deleted', 'example', 10, 2);
amelia_after_outlook_calendar_event_deleted
お客様は、イベントがOutlookカレンダーから削除された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($appointment, $provider) {
// アクションを実行
}
add_action('amelia_after_outlook_calendar_event_deleted', 'example', 10, 2);