ListenUp 1.6.0 has 6 actions and 49 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 ListenUp fires an action
add_action( 'listenup_translation_approved', function( $post_id, $user_id ) {
// Your code runs here.
}, 10, 2 );
// Change a value ListenUp is about to use
add_filter( 'listenup_murf_retry_delay', function( $delay, $code, $arg3 ) {
// Change $delay here.
return $delay;
}, 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
-
/** * Filter how long to wait before retrying a failed Murf.ai request. */ apply_filters( 'listenup_murf_retry_delay', $delay, $code, $retries + 1 ); -
/** * Filters how many sites ListenUp handles at a time on a network. */ apply_filters( 'listenup_network_batch_size', 100 ); -
/** * Filter whether the translation module is on. */ apply_filters( 'listenup_translation_enabled', self::is_saved_on() ); -
/** * Filter how long automatic generation pauses after generated audio couldn't * be saved. */ apply_filters( 'listenup_audio_save_pause_duration', DAY_IN_SECONDS ); -
/** * Filter how many times one post retries a failed cloud audio repair. */ apply_filters( 'listenup_cloud_repair_max_attempts', self::MAX_REPAIR_ATTEMPTS, $post_id ); -
/** * Filter how long cloud audio repairs pause after a site-wide failure. */ apply_filters( 'listenup_cloud_repair_pause_duration', HOUR_IN_SECONDS, $reason ); -
/** * Filter whether ListenUp should boost Lumenare Search results with audio. */ apply_filters( 'listenup_lumenare_search_audio_boost_enabled', true, $search_query, $keywords, $settings ); -
/** * Filter the ListenUp audio boost multiplier for Lumenare Search. */ apply_filters( 'listenup_lumenare_search_audio_boost_multiplier', 1.15, $search_query, $keywords, $settings ); -
/** * Filter the post meta keys that mark a post as having ListenUp audio. */ apply_filters( 'listenup_lumenare_search_audio_meta_keys', $meta_keys, $post_id ); -
/** * Filter how long ListenUp treats the Murf.ai quota as exhausted after a 402. */ apply_filters( 'listenup_murf_quota_pause_duration', HOUR_IN_SECONDS ); -
/** * Filter the languages listed under Voices by Language. */ apply_filters( 'listenup_narration_languages', $languages ); -
/** * Filter the language a post is written in. */ apply_filters( 'listenup_post_language', $default, absint( $post_id ) ); -
/** * Filter whether the site pre-roll goes before audio in a language. */ apply_filters( 'listenup_pre_roll_for_language', $applies, $language, absint( $post_id ) ); -
/** * Filter the sentences pronunciation previews read, by language. */ apply_filters( 'listenup_pronunciation_preview_samples', $samples, $language ); -
/** * Filter the post types ListenUp supports. */ apply_filters( 'listenup_supported_post_types', self::DEFAULTS ); -
/** * Filter whether a ListenUp translation ability is exposed to clients. */ apply_filters( 'listenup_translation_ability_public', false, (string) $name ); -
/** * Filter the system instruction the WordPress AI client engine sends. */ apply_filters( 'listenup_translation_ai_system_instruction', $instruction, $job ); -
/** * Filter the temperature the WordPress AI client engine asks for. */ apply_filters( 'listenup_translation_ai_temperature', null ); -
/** * Fires after a person approves a translation. */ do_action( 'listenup_translation_approved', $post_id, $user_id ); -
/** * Filter the taxonomies that hold a post's bylines, such as Co-Authors Plus's * author taxonomy. */ apply_filters( 'listenup_translation_byline_taxonomies', array(), $source, $post_type ); -
/** * Filter whether a translation may move to publish or future. */ apply_filters( 'listenup_translation_can_publish', true, $post_id, $status ); -
/** * Fires to cancel every queued translation job on this site. */ do_action( 'listenup_translation_cancel_jobs', $reason ); -
/** * Filter the checks run on every translation. */ apply_filters( 'listenup_translation_checks', $builtin ); -
/** * Fires after a translation is saved as a new draft, with its link, provenance * and copies in place. */ do_action( 'listenup_translation_created', $translation_id, $source->ID, $job['language'] ); -
/** * Filter the translation engines. */ apply_filters( 'listenup_translation_engines', $builtin ); -
/** * Filter whether a user may translate posts, when neither they nor their role * says. */ apply_filters( 'listenup_translation_grant_translate_cap', ! empty( $allcaps[ self::GRANTED_BY ] ), $user ); -
/** * Filter how many translation jobs a user can start in an hour. */ apply_filters( 'listenup_translation_jobs_per_hour', self::DEFAULT_LIMIT, (int) $user_id ); -
/** * Filter the rules the translation checks use for a language. */ apply_filters( 'listenup_translation_language_rules', $rules, $tag ); -
/** * Filter the post meta keys copied from a source to a new translation draft. */ apply_filters( 'listenup_translation_meta_keys', array(), $source, $post_type, $language ); -
/** * Filter an engine's monthly translation budget. */ apply_filters( 'listenup_translation_monthly_cap', self::to_cap( $saved ), (string) $engine_id ); -
/** * Filter the characters of the Murf.ai balance the Murf.ai translation engine * leaves for audio. */ apply_filters( 'listenup_translation_murf_audio_reserve', Settings::get_murf_audio_reserve() ); -
/** * Filter the languages the Murf.ai engine translates into. */ apply_filters( 'listenup_translation_murf_languages', self::LANGUAGES ); -
/** * Filter how much longer than its source a Murf.ai translation is assumed to * be. */ apply_filters( 'listenup_translation_murf_output_expansion', self::OUTPUT_EXPANSION ); -
/** * Filter how long a queued translation waits for a runner before it is shown * as not started. */ apply_filters( 'listenup_translation_not_started_after', self::NOT_STARTED_AFTER ); -
/** * Filter the author of a new translation draft. */ apply_filters( 'listenup_translation_post_author', $copy_author ? (int) $source->post_author : (int) $job['user_id'], $source, $job['language'], $copy_author ); -
/** * Filter the arguments a translation draft is saved with. */ apply_filters( 'listenup_translation_post_data', $postarr, $source, $job['language'], $translation_id ); -
/** * Filter the post type a new translation is saved as. */ apply_filters( 'listenup_translation_post_type', '' !== $setting ? $setting : $source->post_type, $source, Language::normalize_tag( $language ) ); -
/** * Filter whether a post list shows the Translations column. */ apply_filters( 'listenup_translation_posts_column', $shown, $post_type ); -
/** * Fires after an unedited translation draft is refreshed with new engine * output. */ do_action( 'listenup_translation_refreshed', $translation_id, $source->ID, $job['language'] ); -
/** * Filter whether a translation must be approved before it can be published or * scheduled. */ apply_filters( 'listenup_translation_require_review', Settings::get_drafts()['require_review'], absint( $post_id ) ); -
/** * Filter how long a background translation run takes steps before it hands the * job to a new run. */ apply_filters( 'listenup_translation_run_time_budget', self::RUN_TIME_BUDGET ); -
/** * Filter the blocks kept whole and never translated. */ apply_filters( 'listenup_translation_skipped_blocks', self::SKIPPED_BLOCKS ); -
/** * Fires at init once the translation module is on. */ do_action( 'listenup_translation_started' ); -
/** * Filter the largest translation the ability runs in the request that asks for * it. */ apply_filters( 'listenup_translation_sync_max_characters', self::SYNC_MAX_CHARACTERS, $job['source_id'], $job['language'] ); -
/** * Filter the languages ListenUp can translate into. */ apply_filters( 'listenup_translation_target_languages', Settings::get_target_locales() ); -
/** * Filter the terms copied to a new translation draft. */ apply_filters( 'listenup_translation_terms', $terms, $source, $post_type, $language ); -
/** * Filter the enclosing shortcodes whose inner text is translated. */ apply_filters( 'listenup_translation_translatable_shortcodes', self::TRANSLATABLE_SHORTCODES ); -
/** * Fires after a translation's approval is withdrawn. */ do_action( 'listenup_translation_unapproved', absint( $post_id ), $user_id ); -
/** * Filter the unit abbreviations a translation must keep. */ apply_filters( 'listenup_translation_units', self::UNITS ); -
/** * Filter the pattern that finds shortcodes which are no longer registered. */ apply_filters( 'listenup_translation_unregistered_shortcode_pattern', self::UNREGISTERED_SHORTCODE_PATTERN ); -
/** * Filter whether translation jobs run through Action Scheduler. */ apply_filters( 'listenup_translation_use_action_scheduler', $available ); -
/** * Filter the voice a post is read in. */ apply_filters( 'listenup_voice_for_post', $voice, $post_id, $language ); -
/** * Filter how long the Murf.ai voice list is kept before it is fetched again. */ apply_filters( 'listenup_voice_list_cache_ttl', DAY_IN_SECONDS ); -
/** * Filter the sample text voice previews read, by language. */ apply_filters( 'listenup_voice_preview_samples', $samples, $locale ); -
apply_filters( 'the_content', $content );
Generated from ListenUp'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: