

操作ガイド
フックの使用には一定レベルのプログラミングスキルが必要であり、プラグインで提供されるサポートには含まれていません。
読みたいところをタップ
amelia_before_customer_added_filter
お客様は、このフィルターを使用して、お客様が追加される前のお客様データを操作できます。
タイプ: フィルター
例:
function example($customer) {
// お客様データを変更
return $customer;
}
add_filter('amelia_before_customer_added_filter', 'example', 10, 1);
amelia_before_customer_added
お客様は、お客様が追加される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer) {
// アクションを実行
}
add_action('amelia_before_customer_added', 'example', 10, 1);
amelia_after_customer_added
お客様は、お客様が追加された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer) {
// アクションを実行
}
add_action('amelia_after_customer_added', 'example', 10, 1);
amelia_customer_wp_created
お客様は、お客様が追加された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer, $container) {
// アクションを実行
}
add_action('amelia_customer_wp_created', 'example', 10, 2);
amelia_before_customer_updated_filter
お客様は、このフィルターを使用して、お客様が更新される前のお客様データを変更できます。
タイプ: フィルター
例:
function example($customer) {
// お客様データを変更
return $customer;
}
add_filter('amelia_before_customer_updated_filter', 'example', 10, 1);
amelia_before_customer_updated
お客様は、お客様が更新される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer) {
// アクションを実行
}
add_action('amelia_before_customer_updated', 'example', 10, 1);
amelia_after_customer_updated
お客様は、お客様が更新された後にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer) {
// アクションを実行
}
add_action('amelia_after_customer_updated', 'example', 10, 1);
amelia_get_customers_filter
お客様は、このフィルターを使用して、管理者側に送信される前に取得されたお客様を変更できます。
タイプ: フィルター
例:
function example($customers) {
return $customers;
}
add_filter('amelia_get_customers_filter', 'example', 10, 1);
amelia_get_customers
お客様は、お客様が管理者側に取得される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customers) {
// アクションを実行
}
add_action('amelia_get_customers', 'example', 10, 1);
amelia_get_customer_filter
お客様は、このフィルターを使用して、管理者側に取得される前のお客様データを変更できます。
タイプ: フィルター
例:
function example($customer) {
return $customer;
}
add_filter('amelia_get_customer_filter', 'example', 10, 1);
amelia_get_customer
お客様は、お客様が管理者側に取得される前にアクションを実行するためにこのフックを使用できます。
タイプ: アクション
例:
function example($customer) {
// アクションを実行
}
add_action('amelia_get_customer', 'example', 10, 1);