Kelune CRM 1.0.6 has 21 actions and 25 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Kelune CRM fires an action
add_action( 'kelune_crm_campaign_send_progress', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Kelune CRM is about to use
add_filter( 'kelune_crm_campaign_send_complete', function( $value, $id ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter whether a drained campaign is finished. */ apply_filters( 'kelune_crm_campaign_send_complete', true, (int) $campaign->id ); -
/** * Fires when a contact opens or clicks an email. */ do_action( "kelune_crm_{$event_type}", $contact_id, $data ); -
/** * Filter the automation step/action processor map. */ apply_filters( 'kelune_crm_automation_processors', $basic ); -
/** * Filter the automation template library. */ apply_filters( 'kelune_crm_automation_templates', $templates ); -
/** * Filters the bounce normalizers, keyed by provider slug. A new key is a new * receiver route. */ apply_filters( 'kelune_crm_bounce_normalizers', $normalizers ); -
/** * Filter the parts of a campaign email for a single queue row. */ apply_filters( 'kelune_crm_campaign_email_parts', $parts, $campaign, $email_row ); -
/** * Filter the contacts this queue pass considers. */ apply_filters( 'kelune_crm_campaign_recipient_ids', $contact_ids, $campaign ); -
/** * Fires once per drain for each campaign still sending. */ do_action( 'kelune_crm_campaign_send_progress', (int) $campaign_id ); -
/** * Filter the A/B variant each contact in this pass is queued under, as a * `contact_id => variant_id` map. Resolved once for the whole pass rather than * per row, so a listener splits the audience in a single decision. */ apply_filters( 'kelune_crm_campaign_variant_assignments', [], $campaign, $contact_ids ); -
/** * Filter the capability catalog. */ apply_filters( 'kelune_crm_capability_groups', $groups ); -
/** * Fires when a contact's status actually changes. */ do_action( 'kelune_crm_contact_status_changed', $id, $old_status, $new_status ); -
/** * Filter the events shown in the Cron Monitor. */ apply_filters( 'kelune_crm_cron_monitor_events', $events ); -
/** * Filters the contact statuses that may receive marketing email. */ apply_filters( 'kelune_crm_email_sendable_statuses', self::SENDABLE_STATUSES ); -
/** * Filter the dashboard feature flags. */ apply_filters( 'kelune_crm_features', $defaults ); -
/** * Filter the merge tags applied to an outgoing email. */ apply_filters( 'kelune_crm_merge_tags', $tags, $contact ); -
/** * Fires before a double opt-in confirmation email is sent. */ do_action( 'kelune_crm_optin_confirmation_sending', (int) $contact->getId(), $token ); -
/** * Fires once a contact confirms their subscription. */ do_action( 'kelune_crm_optin_confirmed', $contactId, $confirmed->toArray() ); -
/** * Filter the REST controllers before their routes are registered. */ apply_filters( 'kelune_crm_rest_controllers', $controllers ); -
/** * Fires after the settings option is written. */ do_action( 'kelune_crm_settings_saved', $merged, $sanitized_settings ); -
/** * Filters how many soft bounces an address absorbs before suppression. */ apply_filters( 'kelune_crm_soft_bounce_limit', self::DEFAULT_SOFT_BOUNCE_LIMIT ); -
/** * Fires each time a temporary delivery failure is counted. */ do_action( 'kelune_crm_soft_bounce_recorded', $contact_id, $count, $data ); -
/** * Filters whether a bounce for an unknown address creates a contact. */ apply_filters( 'kelune_crm_store_bounced_unknown_email', false, $email ); -
/** * Filter the contact fields mapped from a WordPress user. */ apply_filters( 'kelune_crm_wp_user_contact_data', $data, $user ); -
/** * Mirrors core wp_mail()'s failure hook so logging integrations and "resend" * tooling see the same signal for provider sends. */ do_action( 'wp_mail_failed', new \WP_Error( 'wp_mail_failed', $result->get_error_message(), $mail_data ) ); -
/** * This filter is documented in wp-includes/pluggable.php (wp_mail). */ apply_filters( 'wp_mail_from', $from_email ); -
/** * This filter is documented in wp-includes/pluggable.php (wp_mail). */ apply_filters( 'wp_mail_from_name', $from_name ); -
/** * Mirrors core wp_mail()'s success hook. */ do_action( 'wp_mail_succeeded', $mail_data ); -
do_action( 'kelune_crm_contact_updated', (int) $contact->getId(), $contact->toArray() ); -
do_action( 'kelune_crm_contact_created', (int) $contact->getId(), $contact->toArray() ); -
do_action( 'kelune_crm_contact_deleted', $id ); -
do_action( 'kelune_crm_lists_added', (int) $contact_id, $added ); -
do_action( 'kelune_crm_lists_removed', (int) $contact_id, $removed ); -
apply_filters( 'kelune_crm_pro_active', false ); -
do_action( 'kelune_crm_tags_added', (int) $contact_id, $added ); -
do_action( 'kelune_crm_tags_removed', (int) $contact_id, $removed ); -
do_action( 'kelune_crm_automation_contact_enrolled', $automation->id, $contact_id, $context ); -
apply_filters( 'kelune_crm_contact_duplicate_fields', [] ); -
apply_filters( 'kelune_crm_contact_required_fields', self::FALLBACK ); -
apply_filters( 'kelune_crm_dashboard_config', $config ); -
do_action( 'kelune_crm_loaded', $this->container ); -
apply_filters( 'kelune_crm_modules', [ 'ContactManager', 'EmailCampaigns', 'Automations', 'Analytics', ] ); -
apply_filters( 'kelune_crm_valid_trigger_types', [ 'contact_created', 'contact_updated', 'tag_added', 'tag_removed', 'list_added', 'list_removed', 'manual', ] ); -
do_action( 'kelune_crm_webhook_after_process', $payload, $webhook, $result ); -
do_action( 'kelune_crm_webhook_before_process', $payload, $webhook ); -
do_action_ref_array( 'phpmailer_init', [&$built] );
Generated from Kelune CRM's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: