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);