Custom Field added
amelia_before_cf_added_filter
Users can use this filter to manipulate custom field data before it is added.
Type: filter
Example:
function example($customField) { // change data return $customField; } add_filter('amelia_before_cf_added_filter', 'example', 10, 1);
amelia_before_cf_added
Users can use this hook to do an action before the custom field is added.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_before_cf_added', 'example', 10, 1);
amelia_after_cf_added
Users can use this hook to do an action after a custom field is added.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_after_cf_added', 'example', 10, 1);
Custom Field updated
amelia_before_cf_updated_filter
Users can change the custom field data before it is updated.
Type:Â filter
Example:
function example($customField) { return $customField; } add_filter('amelia_before_cf_updated_filter', 'example', 10, 1);
amelia_before_cf_updated
User can use this hook to do an action before the custom field is updated.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_before_cf_updated', 'example', 10, 1);
amelia_after_cf_updated
Users can use this hook to do an action after the custom field is updated.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_after_cf_updated', 'example', 10, 1);
Get custom fields
amelia_get_cfs_filter
Users can change the custom fields retrieved before they are sent to the backend
Type:Â filter
Example:
function example($customFields) { return $customFields; } add_filter('amelia_get_cfs_filter', 'example', 10, 1);
amelia_get_cfs
Users can use this hook to do an action before the custom fields are retrieved to the backend.
Type:Â action
Example:
function example($customFields) { // do action } add_action('amelia_get_cfs', 'example', 10, 1);
Custom field deleted
amelia_before_cf_deleted
Users can use this hook to do an action before the custom field is deleted.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_before_cf_deleted', 'example', 10, 1);
amelia_after_cf_deleted
Users can use this hook to do an action after the custom field is deleted.
Type:Â action
Example:
function example($customField) { // do action } add_action('amelia_after_cf_deleted', 'example', 10, 1);