Aluleth SMTP 0.3.6 has 12 actions and 34 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 Aluleth SMTP fires an action
add_action( 'aluleth/contact/deleted', function( $contact_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Aluleth SMTP is about to use
add_filter( 'aluleth/queue/object_link', function( $value, $object_type, $object_id ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * Filters the link and label of what a send came from. */ apply_filters( 'aluleth/queue/object_link', array( 'url' => '', 'label' => sprintf( __( '%1$s #%2$d', 'aluleth-smtp' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ); -
/** * Filters DNS answers (tests, or a resolver of your own). */ apply_filters( 'aluleth_smtp/dns', false, $name, $type ); -
/** * Filters the kind of an email (marketing emails can wait in the queue and use * their own connection). */ apply_filters( 'aluleth_smtp/kind', $kind, $msg, $source ); -
/** * Filters a message before it is sent (or false to block it). */ apply_filters( 'aluleth_smtp/message', $msg, $source, $kind ); -
/** * Filters the email services Aluleth SMTP can send with. */ apply_filters( 'aluleth_smtp/providers', $list ); -
/** * Filters the connection (and fallback) of an email. */ apply_filters( 'aluleth_smtp/route', $pick, $msg, $source, $kind ); -
/** * Filters the access areas shown in Aluleth βΊ Settings βΊ Access. */ apply_filters( 'aluleth/access/areas', $areas ); -
/** * Filters the capability needed for an Aluleth admin area. */ apply_filters( 'aluleth/capability', 'aluleth_' . sanitize_key( $area ), $area ); -
/** * Filters the visitor IP used for rate limits (only its hash is stored). * Behind a trusted proxy or CDN, return the real visitor IP from its header. */ apply_filters( 'aluleth/client_ip', $ip ); -
/** * Fires after a contact was deleted, so products can remove their own data. */ do_action( 'aluleth/contact/deleted', $contact_id ); -
/** * Fires when an import is finished. */ do_action( 'aluleth/contacts/imported', $job ); -
/** * Fires once the Aluleth core is loaded. Products hook here to register their * triggers, actions and admin pages. */ do_action( 'aluleth/core/loaded', $this ); -
/** * Main button of the dashboard header. */ apply_filters( 'aluleth/dashboard/action', null ); -
/** * Key numbers of the dashboard. Each: key, label, value (formatted), note, * delta, bar (0β100), order. */ apply_filters( 'aluleth/dashboard/kpis', $kpis, $period ); -
/** * Wide panels (for example the forms table). Each: title, link, link_label, * html (already escaped). */ apply_filters( 'aluleth/dashboard/panels', array(), $period ); -
/** * Lines of the dashboard chart. Each: key, label, data (bucket => count), * order. */ apply_filters( 'aluleth/dashboard/series', $series, $period ); -
/** * Label of a contact source on the dashboard. */ apply_filters( 'aluleth/dashboard/source_label', $label, $row->source ); -
/** * "To handle" list. Keys: title, count, link, link_label, items (each: name, * text, when, url). */ apply_filters( 'aluleth/dashboard/todo', array() ); -
/** * Aluleth tools of the site. Each: name, text, state (active|soon). */ apply_filters( 'aluleth/dashboard/tools', $tools ); -
/** * Fires for every recorded event. */ do_action( 'aluleth/event', $event ); -
/** * Fires for one event type, e.g. `aluleth/event/form.submitted`. */ do_action( "aluleth/event/{$type}", $event ); -
/** * Filters the label of an event in timelines. */ apply_filters( 'aluleth/event/label', $label, $event ); -
/** * Filters the outside services contacts can be sent to. */ apply_filters( 'aluleth/integrations/services', $list ); -
/** * Filters the full HTML of emails sent by Aluleth plugins. */ apply_filters( 'aluleth/mail/html', $out, $html ); -
/** * Filters whether a suppressed address is skipped (Aluleth SMTP applies its * own rules). */ apply_filters( 'aluleth/mail/suppressed', $blocked, $reason, strtolower( $email ), $kind ); -
/** * Filters the handler of a job kind (for kinds not registered with * Queue::handle()). */ apply_filters( 'aluleth/queue/handler', isset( self::$handlers[ $row->hook ] ) ? self::$handlers[ $row->hook ] : null, $row ); -
/** * Fires after a job ran. */ do_action( 'aluleth/queue/ran', $row, $result ); -
/** * Fires after the roles table (Aluleth Forms adds its AI agents card here). */ do_action( 'aluleth/settings/access' ); -
/** * Fires when the Access section is saved (Aluleth Forms saves its AI agents * choices). */ do_action( 'aluleth/settings/access_save', $post ); -
/** * Filters whether the Payments section is shown (Aluleth Forms turns it on). */ apply_filters( 'aluleth/settings/payments', false ); -
/** * Filters the anchors of the Payments section (add-ons add their payment * methods). */ apply_filters( 'aluleth/settings/payments_anchors', array( 'paypal' => __( 'PayPal', 'aluleth-smtp' ), 'checkout' => __( 'Payment options', 'aluleth-smtp' ), ) ); -
/** * Fires at the end of the Payments section, inside its form (add-ons add their * payment methods here). */ do_action( 'aluleth/settings/payments_render' ); -
/** * Saves the payment methods added by an add-on to the Payments section. Return * the notice to show ("error:" first for an error). */ apply_filters( 'aluleth/settings/payments_save', $notice, $post ); -
/** * Sentences for the privacy policy about the outside services an add-on uses. */ apply_filters( 'aluleth/settings/privacy', $texts ); -
/** * Filters the sections of Aluleth βΊ Settings. */ apply_filters( 'aluleth/settings/sections', $sections ); -
/** * Filters the "delete my data when this plugin is deleted" choices. Each * plugin adds its own: key => option, label, help. */ apply_filters( 'aluleth/settings/uninstall', array() ); -
/** * Filters the colours and fonts found on the site (for themes and builders not * read yet). */ apply_filters( 'aluleth/site_style', array( 'colors' => $colors, 'fonts' => $fonts, ) ); -
/** * Filters the webhook request arguments. */ apply_filters( 'aluleth/webhook/request', array( 'body' => $raw, 'headers' => $headers, 'timeout' => 15, 'redirection' => 2, 'data_format' => 'body', ), $feed, $payload ); -
apply_filters( 'aluleth/settings/access_anchors', $sections['access']['anchors'] ); -
do_action( 'aluleth/settings/top' ); -
apply_filters( 'wp_mail_charset', $charset ); -
apply_filters( 'wp_mail_content_type', $content_type ); -
do_action( 'wp_mail_failed', new \WP_Error( 'wp_mail_failed', $error, $data ) ); -
apply_filters( 'wp_mail_from', $from_email ); -
apply_filters( 'wp_mail_from_name', $from_name ); -
do_action( 'wp_mail_succeeded', self::mail_data( $atts ) );
Generated from Aluleth SMTP'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: