Aluleth Forms 0.19.6 has 15 actions and 56 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 Forms fires an action
add_action( 'aluleth_forms/builder_enqueue', function( $form_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Aluleth Forms is about to use
add_filter( 'aluleth_forms/render_field', function( $value, $field, $arg3 ) {
// 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
-
/** * This filter is documented below. */ apply_filters( 'aluleth_forms/render_field', '', $field, array( 'id' => $uid . '-' . $field['id'], 'name' => '', 'value' => null, 'error' => '', ) ); -
/** * 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-forms' ), ucfirst( $row->object_type ), (int) $row->object_id ), ), $row->object_type, (int) $row->object_id ); -
/** * Fires when the builder's scripts are enqueued, so an extension can add its * own (it hooks into the builder with wp.hooks). */ do_action( 'aluleth_forms/builder_enqueue', $form_id ); -
/** * Short labels shown on the board card, after the field values. */ apply_filters( 'aluleth_forms/card_chips', $chips, $entry ); -
/** * Cleans the settings of a field type added by an extension. The common keys * (id, type, label, and for input types required, placeholder, help, widthβ¦) * are already clean. */ apply_filters( 'aluleth_forms/clean_field', $clean, $field ); -
/** * Cleans extension settings kept on any field (the correct answer of a quiz * questionβ¦). Extensions must clean what they add. */ apply_filters( 'aluleth_forms/clean_field_all', $clean, $field ); -
/** * Cleans the form settings added by an extension. Keys the extension does not * add are already clean; raw settings hold what the builder sent. */ apply_filters( 'aluleth_forms/clean_settings', $clean_settings, $settings, $fields ); -
/** * Field types added by extensions whose answer can drive conditions (a single * value: a rating, a scaleβ¦). */ apply_filters( 'aluleth_forms/condition_types', array() ); -
/** * Whether form views are counted. */ apply_filters( 'aluleth_forms/count_views', true ); -
/** * Prints a view added with the "aluleth_forms/entries_views" filter. */ do_action( 'aluleth_forms/entries_view', $view, $form_id ); -
/** * Views of the entries screen. An add-on can add one (key => label) and print * it on the "aluleth_forms/entries_view" action. */ apply_filters( 'aluleth_forms/entries_views', array( 'board' => __( 'Board', 'aluleth-forms' ), 'list' => __( 'List', 'aluleth-forms' ), ) ); -
/** * Fires after an entry was saved (after the payment, for a payment form). */ do_action( 'aluleth_forms/entry_created', $entry_id, $form, $values, $contact_id ); -
/** * Extension data saved with the entry (a quiz scoreβ¦), by extension key. */ apply_filters( 'aluleth_forms/entry_extra', array(), $ctx['form'], $ctx['values'] ); -
/** * Lets an add-on print its own block in the entry panel, before the notes. */ do_action( 'aluleth_forms/entry_panel', $entry ); -
/** * Lets an extension add its own field types. Each list holds type keys (lower * case letters, digits and "_"): "input" types are filled in by the visitor * and saved, "display" types only show something, and "payment" types (also * listed in "input") make the form a payment form. An extension then cleans, * checks and shows its fields with the aluleth_forms/clean_field, * aluleth_forms/validate_field and a... */ apply_filters( 'aluleth_forms/field_types', array( 'input' => array(), 'display' => array(), 'payment' => array(), ) ); -
/** * Filters the data sent to outside tools for an entry. */ apply_filters( 'aluleth_forms/integration_payload', $payload, $form, $values ); -
/** * Files attached to the email to the team ('notify') or to the visitor * ('confirm'). */ apply_filters( 'aluleth_forms/mail_attachments', array(), $kind, $form, $values, (int) $entry_id ); -
/** * Answer rows of the emails (HTML table rows): an extension can add its own. */ apply_filters( 'aluleth_forms/mail_rows', $rows, $form, $values, $entry_id ); -
/** * Words replaced in the email subjects and in the confirmation message. */ apply_filters( 'aluleth_forms/mail_tokens', $replace, $form, $values, $entry_id ); -
/** * Replaces the PayPal buttons of a payment form (an extension shows a * "Continue to checkout" button instead, for example). Return null to keep * them. Keep the classes "alf-submit" (and "alf-pay" for the PayPal flow). */ apply_filters( 'aluleth_forms/pay_area', null, $form, $preview, $multi ); -
/** * More ways to pay shown under the PayPal buttons (an add-on adds a "Pay with * crypto" button, for example). Buttons must be type="button". */ apply_filters( 'aluleth_forms/pay_methods', '', $form, $preview ); -
/** * Lets an extension price its own fields. Items are name, price (per unit) and * quantity; total = items + tax - discount. "meta" is kept with the pending * payment and passed back to aluleth_forms/payment_saved. */ apply_filters( 'aluleth_forms/payment_cart', $cart, $schema, $values ); -
/** * Currency of a payment form. */ apply_filters( 'aluleth_forms/payment_currency', PayPal::currency(), $schema ); -
/** * Message shown after a payment (an extension may add the order number). */ apply_filters( 'aluleth_forms/payment_message', $success['message'], $form, (int) $entry_id ); -
/** * Whether the payer gets the payment receipt (when the form sends no * confirmation of its own). An extension whose store emails its own order * confirmation can turn it off. */ apply_filters( 'aluleth_forms/payment_receipt', ! empty( \Aluleth\Core\PayPal::get()['receipt'] ), $form, $payment ); -
/** * Runs once a paid entry is saved, before the emails and connections, so an * extension can add to the payment (a store order, for example). */ apply_filters( 'aluleth_forms/payment_saved', $payment, $entry_id, $form, $pending ); -
/** * Payment details shown in the entry panel. An extension can add a fresh * "order" (number, url, status, store) and a "note". */ apply_filters( 'aluleth_forms/payment_view', $entry->payment, $entry ); -
/** * Whether this form is paid with the PayPal buttons (an extension may send the * visitor to another checkout instead). */ apply_filters( 'aluleth_forms/paypal_allowed', true, $ctx['form'] ); -
/** * Fires when a form is shown, so an add-on can load its own scripts. */ do_action( 'aluleth_forms/render_form', $form ); -
/** * Handles the sending of a payment form whose checkout is not the PayPal * buttons (an extension sends the visitor to a store checkout, for example). * Return the answer for the visitor (success, message, redirect), or null. */ apply_filters( 'aluleth_forms/submit_payment_form', null, $ctx ); -
/** * Answer shown to the visitor once the entry is saved (message, redirect, and * any data an extension adds for its own display, like a quiz result). */ apply_filters( 'aluleth_forms/success', $ctx['success'], $ctx['form'], $ctx['values'], $entry_id, $extra ); -
/** * Filters the templates of the "Create a form" screen. */ apply_filters( 'aluleth_forms/templates', $templates ); -
/** * Filters validation errors, so extensions can add their own checks. */ apply_filters( 'aluleth_forms/validate', $errors, $values, $form ); -
/** * Checks and cleans the value of a field type added by an extension. */ apply_filters( 'aluleth_forms/validate_field', null, $field, $raw ); -
/** * Printable value of a field type added by an extension. */ apply_filters( 'aluleth_forms/value_text', null, $value, $type ); -
/** * 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-forms' ), 'checkout' => __( 'Payment options', 'aluleth-forms' ), ) ); -
/** * 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_forms/csv_columns', array(), $result['items'] ); -
apply_filters( 'aluleth_forms/csv_row', array(), $item, array_keys( $extra_cols ) ); -
apply_filters( 'aluleth/settings/access_anchors', $sections['access']['anchors'] ); -
do_action( 'aluleth/settings/top' );
Generated from Aluleth Forms'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: