AumLang 1.7.2 has 10 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.
// Run your own code when AumLang fires an action
add_action( 'aumlang_after_translate', function( $source_id, $target_id, $target_lang ) {
// Your code runs here.
}, 10, 3 );
// Change a value AumLang is about to use
add_filter( 'aumlang_translatable_post_types', 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
-
/** * Filter the post types AumLang can translate. */ apply_filters( 'aumlang_translatable_post_types', array( 'post', 'page' ) ); -
/** * This filter is documented in src/Admin/TermAdminColumns.php */ apply_filters( 'aumlang_translatable_taxonomies', $taxonomies ); -
/** * Filters whether a custom field value should be sent for translation. */ apply_filters( 'aumlang_translate_meta_value', $translatable, $key, $value ); -
/** * Fires after a piece of content has been translated. */ do_action( 'aumlang_after_translate', $source_id, $target_id, $target_lang ); -
/** * Fires after a translation is linked to its source. */ do_action( 'aumlang_content_linked', $source_id, $target_id, $lang, $group ); -
/** * Fires after the default language changes. */ do_action( 'aumlang_default_language_changed', $code ); -
/** * Filter the translatable fields for an Elementor widget. Rarely needed — * fields are detected automatically from Elementor control types — but * available to force-include or force-exclude specific controls. */ apply_filters( 'aumlang_elementor_fields', $spec, $widget_type ); -
/** * Filters the flag markup for a locale. */ apply_filters( 'aumlang_flag_html', $html, $locale, $country, $label ); -
/** * Filter the translatable attributes for a Gutenberg block. */ apply_filters( 'aumlang_gutenberg_text_attributes', $attributes, $block_name ); -
/** * Fires after a language is registered or updated. */ do_action( 'aumlang_language_registered', $code, $attributes ); -
/** * Fires after a language is removed. */ do_action( 'aumlang_language_unregistered', $code ); -
/** * Fires after AumLang has booted and registered its core hooks. */ do_action( 'aumlang_loaded', $this ); -
/** * Fires so other plugins can add a content parser. */ do_action( 'aumlang_register_parsers', $registry, $html ); -
/** * Filter which shortcode attributes hold translatable text. */ apply_filters( 'aumlang_shortcode_rules', $rules ); -
/** * Fires after a source's structure has been synced to its translations. */ do_action( 'aumlang_structure_synced', (int) $source_id ); -
/** * Fires after a translated term is linked to its source. */ do_action( 'aumlang_term_linked', $source_term_id, $target_term_id, $lang, $group ); -
/** * Filter extra per-language instructions appended to the prompt (e.g. the * glossary). Applied for every translation, so all paths honour it. */ apply_filters( 'aumlang_translation_instructions', '', $target_lang, $source_lang ); -
/** * Fires when a translation becomes stale. */ do_action( 'aumlang_translation_stale', (int) $source_id, $row['lang_code'] ); -
apply_filters( 'aumlang_render_floating_switcher', true, $settings );
Generated from AumLang'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: