Australcode Email Marketing icon
Email & Marketing

Australcode Email Marketing hooks reference

Australcode Email Marketing 1.1.4 has 2 actions and 9 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.

functions.phpyour child theme
// Run your own code when Australcode Email Marketing fires an action
add_action( 'acfk_kit_registered', function( $best, $offers ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Australcode Email Marketing is about to use
add_filter( 'aceml_upgrade_url', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

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

  • src/Admin/UpgradePage.php line 47 · used in 3 places
    /**
     * URL de upgrade/pricing. Por defecto el checkout del SDK de Freemius (con la
     * landing del plugin como fallback si el SDK no cargó); el filtro permite
     * sobreescribir el destino.
     */
    apply_filters( 'aceml_upgrade_url', $this->gate->upgradeUrl() );
  • src/Infrastructure/Sending/WpMailTransport.php line 40
    /**
     * Filtra los argumentos de un correo de campaña antes de wp_mail.
     */
    apply_filters( 'aceml_campaign_email_args', [ 'to' => $email->to, 'subject' => $email->subject, 'message' => $email->htmlBody, 'headers' => $headers, ] );
  • src/Integration/WooCommerce/WooCheckoutOptIn.php line 145
    /**
     * Texto del opt-in de checkout.
     */
    apply_filters( 'aceml_checkout_optin_label', __( 'Keep me updated by email', 'australcode-email-marketing' ) );
  • src/Service/Sending/CampaignComposer.php line 67
    /**
     * Filtra el HTML final ya envuelto (footer incluido). Punto de extensión del
     * tracking Pro (pixel + link rewriting, P.2) — `$subscriberId` 0 = envío de
     * prueba, sin tracking.
     */
    apply_filters( 'aceml_composed_email_html', $html, $campaign, $subscriberId );
  • src/Notification/WpMailMailer.php line 61
    /**
     * Filtra los argumentos de un correo del plugin antes de wp_mail. Permite
     * reescribir destinatario/asunto/cuerpo/headers o enrutar por un proveedor
     * propio. Devolver el array intacto = sin cambios.
     */
    apply_filters( 'aceml_email_args', [ 'to' => $email, 'subject' => $subject, 'message' => $html, 'headers' => $headers, ], $type );
  • src/Service/Sending/CampaignComposer.php line 49
    /**
     * Filtra el cuerpo ANTES de envolver (el footer de compliance y la estructura
     * del email quedan fuera del alcance). Punto de extensión de las
     * automatizaciones Pro (P.5): el cart summary del abandoned cart se inyecta
     * acá, debajo del mensaje del usuario.
     */
    apply_filters( 'aceml_email_body_html', $body, $campaign, $subscriberId );
  • src/Frontend/AssetLoader.php line 82
    /**
     * Filtra si los assets del formulario deben cargarse en la página actual.
     */
    apply_filters( 'aceml_should_load_assets', $this->detectShouldLoad() );
  • assets/acfk/frontkit-loader.php line 141
    /**
     * Permite al comerciante o a un dev inspeccionar el arbitraje.
     */
    do_action( 'acfk_kit_registered', $best, $offers );
  • src/Service/Sending/QueueProcessor.php line 88
    apply_filters( 'aceml_max_send_attempts', self::MAX_ATTEMPTS );
  • src/Service/Subscription/SubscribeService.php line 142
    do_action( 'aceml_subscriber_confirmed', $subscriber );
  • src/Frontend/FormWidget.php line 40
    apply_filters( 'widget_title', $title, $instance, $this->id_base );

Generated from Australcode Email Marketing'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.

Plugin 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 this

Not 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: