Don’t miss our Special Offer!

Up to 50% off
Grab Amelia
Grab Amelia

Amelia WP Hooks for Employees

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

Employee added

amelia_before_provider_added_filter

Users can use this filter to manipulate employee data before it is added.

Type: filter

Example:

function example($provider)
{
    // change provider data
    return $provider;
}

add_filter('amelia_before_provider_added_filter', 'example', 10, 1);

amelia_before_provider_added

Users can use this hook to do an action before the employee is added.

Type: action

Example:

function example($provider)
{
    // do action
}

add_action('amelia_before_provider_added', 'example', 10, 1);

amelia_after_provider_added

Users can use this hook to do an action after a employee is added.

Type: action

Example:

function example($provider)
{
    // do action
}

add_action('amelia_after_provider_added', 'example', 10, 1);

Employee updated

amelia_before_provider_updated_filter

Users can change the employee data before it is updated.

Type: filter

Example:

function example($provider)
{
    // change provider data
    return $provider;
}

add_filter('amelia_before_provider_updated_filter', 'example', 10, 1);

amelia_before_provider_updated

User can use this hook to do an action before the employee is updated.

Type: action

Example:

function example($provider)
{
    // do action
}

add_action('amelia_before_provider_updated', 'example', 10, 1);

amelia_after_provider_updated

Users can use this hook to do an action after the employee is updated.

Type: action

Example:

function example($provider)
{
    // do action
}

add_action('amelia_after_provider_updated', 'example', 10, 1);

Get employees

amelia_get_providers_filter

Users can change the employees retrieved before they are sent to the backend

Type: filter

Example:

function example($providers)
{
    return $providers;
}

add_filter('amelia_get_providers_filter', 'example', 10, 1);

amelia_get_providers

Users can use this hook to do an action before the employees are retrieved to the backend.

Type: action

Example:

function example($providers)
{
    // do action
}

add_action('amelia_get_providers', 'example', 10, 1);

Get employee

amelia_get_provider_filter

Users can change the employee data before it is retrieved for the backend.

Type: filter

Example:

function example($provider)
{
    return $provider;
}

add_filter('amelia_get_provider_filter', 'example', 10, 1);

amelia_get_provider

Users can use this hook to do an action before the employee is retrieved for the backend.

Type: action

Example:

function example($provider)
{
    // do action
}

add_action('amelia_get_provider', 'example', 10, 1);