

操作ガイド
フックを使用するには、一定レベルのプログラミング スキルが必要であり、プラグインで提供されるサポートには含まれていません。
amelia_before_appointment_added_filter
ユーザーはこのフィルターを使用して、管理者側から追加される前に予約データを操作できます。
タイプ: フィルター
例:
関数の例($appointment、$service、$paymentData)
{
// 予約データを変更する
$appointment を返します。
}
add_filter('amelia_before_appointment_added_filter', 'example', 10, 3);amelia_before_appointment_added
ユーザーはこのフックを使用して、管理者側から予約が追加される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment、$service、$paymentData)
{
// アクションを実行する
}
add_action('amelia_before_appointment_added', 'example', 10, 3);amelia_after_appointment_added
ユーザーはこのフックを使用して、管理者側から予約が追加された後にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment、$service、$paymentData)
{
// アクションを実行する
}
add_action('amelia_after_appointment_added', 'example', 10, 3);amelia_before_appointment_updated_filter
ユーザーは、管理者側から更新される前に予約データを変更できます。
タイプ: フィルター
例:
関数の例($appointment、$removedBookings、$service)
{
// 予約データを変更する
$appointment を返します。
}
add_filter('amelia_before_appointment_updated_filter', 'example', 10, 3);amelia_before_appointment_updated
ユーザーはこのフックを使用して、管理者側から予約が更新される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment、$removedBookings、$service)
{
// アクションを実行する
}
add_action('amelia_before_appointment_updated', 'example', 10, 3);amelia_after_appointment_updated
ユーザーはこのフックを使用して、管理者側から予約が更新された後にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment、$oldAppointment、$removedBookings、$service、$paymentData)
{
// アクションを実行する
}
add_action('amelia_after_appointment_updated', 'example', 10, 5);amelia_before_appointment_status_updated
ユーザーはこのフックを使用して、管理者側から予約ステータスが更新される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment, $requestedStatus)
{
// アクションを実行する
}
add_action('amelia_before_appointment_status_updated', 'example', 10, 2);amelia_after_appointment_status_updated
ユーザーはこのフックを使用して、管理者側から予約ステータスが更新された後にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment, $requestedStatus)
{
// アクションを実行する
}
add_action('amelia_after_appointment_status_updated', 'example', 10, 2);amelia_get_appointments_filter
ユーザーは、管理者側に送信される前に取得した予定を変更できます。
タイプ: フィルター
例:
関数の例($appointments)
{
// 予約を変更する
$appointments を返します。
}
add_filter('amelia_get_appointments_filter', 'example', 10, 1);amelia_get_appointments
ユーザーはこのフックを使用して、予定が管理者側に取得される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointments)
{
// アクションを実行する
}
add_action('amelia_get_appointments', 'example', 10, 1);amelia_get_appointment_filter
ユーザーは、管理者側に取得される前に予約データを変更できます。
タイプ: フィルター
例:
関数の例($appointment)
{
// 予約データを変更する
$appointment を返します。
}
add_filter('amelia_get_appointment_filter', 'example', 10, 1);amelia_get_appointment
ユーザーはこのフックを使用して、管理者側で予約が取得される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment)
{
// アクションを実行する
}
add_action('amelia_get_appointment', 'example', 10, 1);amelia_before_appointment_deleted
ユーザーはこのフックを使用して、管理者側から予定が削除される前にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment)
{
// アクションを実行する
}
add_action('amelia_before_appointment_deleted', 'example', 10, 1);amelia_after_appointment_deleted
ユーザーはこのフックを使用して、管理者側から予定が削除された後にアクションを実行できます。
タイプ: アクション
例:
関数の例($appointment)
{
// アクションを実行する
}
add_action('amelia_after_appointment_deleted', 'example', 10, 1);