Don’t miss our Special Offer!

Up to 50% off
Grab Amelia
Grab Amelia

Amelia WP Hooks for Export

Please note that using hooks requires a certain level of programming skills and included support refers only to advice.

Export appointments

amelia_before_csv_export_appointments

Users can use this filter to change the exported appointment data

Type: filter

Example:

function example($row, $appointment, $separate)
{
    // change row data, called for every row, $separate - whether group appointments are exported in different rows or not.
    return $row;
}

add_filter('amelia_before_csv_export_appointments', 'example', 10, 3);

Export event attendees

amelia_before_csv_export_event

Users can change the exported event attendees data.

Type: filter

Example:

function example($row, $event, $separate)
{
    // change row data, called for every row, $separate - whether group appointments are exported in different rows or not
    return $row;
}

add_filter('amelia_before_csv_export_event', 'example', 10, 3);

Export customers

amelia_before_csv_export_customers

Users can change the exported customers data.

Type: filter

Example:

function example($row, $customer)
{
    // change row data, called for every row
    return $row;
}

add_filter('amelia_before_csv_export_customers', 'example', 10, 2);

Export payments

amelia_before_csv_export_payments

Users can change the exported payments data.

Type: filter

Example:

function example($row, $payment)
{
    // change row data, called for every row
    return $row;
}

add_filter('amelia_before_csv_export_payments', 'example', 10, 2);

Export coupons

amelia_before_csv_export_coupons

Users can use this hook to change the exported coupons data

Type: filter

Example:

function example($row, $coupon)
{
    // change row data, called for every row
    return $row;
}

add_filter('amelia_before_csv_export_coupons', 'example', 10, 2);