Filters

Secondary Hooks

These hooks cover failure alerts, email controls, and log queries. They are lower-traffic extension points compared to mailers, tools, and dashboard widgets, but are high-value for Pro features such as per-recipient alert routing, WooCommerce-specific email toggles, and custom log queries. Failure Alert Hooks NimblyMail sends an email notification when mail delivery fails. Four hooks let […]

nimbly_mail_active_mailer — Filter the Active Mailer

Type: Filter Arguments: 3 Fired in: Processor::get_active_mailer() Since: 1.0.0 Overview Fires every time NimblyMail selects which AbstractMailer will handle a pending wp_mail() call. Attach a handler here to implement rule-based routing or backup-connection retry without touching the persisted mail.mailer option. Important This filter fires once per send, after the configured mailer is resolved from options […]

nimbly_mail_pre_send — Short-Circuit Before Delivery

Type: Filter Arguments: 3 Fired in: Processor::pre_send_filter() on the wp_mail filter at priority 5 Since: 1.0.0 Overview Fires early in the wp_mail chain, before Logger captures the attempt and before PHPMailer is invoked. Returning true from any handler signals that the handler has accepted responsibility for the message — NimblyMail will then return true to […]