Text To Speech TTS Accessibility 2.3.27 has 12 actions and 110 filters, read directly from its source code on Nov 20, 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 Text To Speech TTS Accessibility fires an action
add_action( 'atlasvoice_post_rules_changed', function( $post_id, $clean, $prev ) {
// Your code runs here.
}, 10, 3 );
// Change a value Text To Speech TTS Accessibility is about to use
add_filter( 'atlasvoice_after_clean_content', function( $content, $post ) {
// Change $content here.
return $content;
}, 10, 2 );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.
Changes by version
2.3.26 → 2.3.27 · Nov 20, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Fires after a per-post override is written. Payload includes old and new for * diff renderers. */ do_action( 'atlasvoice_post_rules_changed', $post_id, $clean, $prev ); -
/** * Tracking interval */ apply_filters( "{$this->client->getSlug()}_tracking_interval", '-1 minute' ); -
/** * After request to api server. */ do_action( "{$this->getSlug()}_after_request", $response, $route ); -
/** * After request to api server to route. */ do_action( "{$this->getSlug()}_after_request_{$route}", $response, $route ); -
/** * before request to api server. */ do_action( "{$this->getSlug()}_before_request", $params, $route, $headers, $this->clientVersion, $url ); -
/** * before request to api server to route. */ do_action( "{$this->getSlug()}_before_request_{$route}", $params, $route, $headers, $url ); -
/** * Request Blocking mode. Set it to true for debugging the response with after * request action. */ apply_filters( "{$this->getSlug()}_request_blocking_mode", $blocking ); -
/** * API EndPoint */ apply_filters( "{$this->slug}_AtlasAiDev_API_EndPoint", $this->API_EndPoint, $this->apiVersion, $this->clientVersion ); -
/** * Filter Final API URL for request */ apply_filters( "{$this->slug}_AtlasAiDev_API_URL", $URL, $this->API_EndPoint, $route, $this->apiVersion, $this->clientVersion ); -
/** * Filter Request Route string */ apply_filters( "{$this->slug}_request_route", $route ); -
/** * Support Page URL */ apply_filters( "AtlasAiDev_{$projectSlug}_Support_Page_URL", false ); -
/** * Set Support Ticket Ajax Error Response. */ apply_filters( "AtlasAiDev_{$projectSlug}_Support_Request_Ajax_Error_Response", false, $_REQUEST ); -
AtlasAiDev_{$projectSlug}_Support_Request_Ajax_Success_Response
filter Copy link Customise this hook/** * Set Ajax Success Response for Support Ticket Submission */ apply_filters( "AtlasAiDev_{$projectSlug}_Support_Request_Ajax_Success_Response", false, $_REQUEST ); -
/** * Set Support Ticket Template For sending the email query. */ apply_filters( "AtlasAiDev_{$projectSlug}_Support_Ticket_Email_Template", false ); -
/** * Set Ticket Recipient Email */ apply_filters( "AtlasAiDev_{$projectSlug}_Support_Ticket_Recipient_Email", false ); -
/** * AtlasVoice integration hook (TTS-238 v5 §1 P1). One-line emission point — * keeps the legacy code path byte-identical when no AtlasVoice listener is * attached. Real logic lives in `includes/atlasvoice/ReadersIntegration.php`. */ apply_filters( 'atlasvoice_after_clean_content', $content, $post ); -
/** * Fires after a successful Go Live. */ do_action( 'atlasvoice_go_live', get_current_user_id() ); -
/** * Fires after the AtlasVoice mode changes. Consumers can use this to flush MP3 * CDN caches, broadcast to multisite, or log the promotion for audit trails. */ do_action( 'atlasvoice_mode_changed', $mode ); -
/** * Fires after a revert-to-staging. */ do_action( 'atlasvoice_reverted_to_staging', get_current_user_id() ); -
/** * Compatible with Payment forms, Buy now buttons and Invoicing System | * GetPaid */ apply_filters( 'tta_display_button_priority', 999 ); -
apply_filters( 'tts_sentence_delimiter', '. ' ); -
apply_filters( 'atlasvoice_localize_data_lazy', $this->localize_data ); -
apply_filters( 'tta_dashboard_widget_row_limit', 5000 ); -
apply_filters( 'tta_total_plays_scan_row_limit', 5000 ); -
apply_filters( 'tts_compatible_plugins_content', [], $compatible_data, $post ); -
apply_filters( 'tts_get_post_types', $cache_value ); -
apply_filters( 'tts_steprail_doc_url', 'https://atlasaidev.com/docs/text-to-speech/getting-started/atlasvoice-content-selector-staging-live/' ); -
apply_filters( "{$this->client->getSlug()}_extra_uninstall_reasons", [], $reasons ); -
apply_filters( "{$this->client->getSlug()}_promo_audience", 'free' ); -
apply_filters( "{$this->client->getSlug()}_tracker_data", $data ); -
apply_filters( "{$this->client->getSlug()}_tracking_default_notice_message", esc_html__( 'Want to help make %1$s even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', 'text-to-audio' ) ); -
apply_filters( "{$this->client->getSlug()}_what_tracked", $data ); -
apply_filters( 'atlas_voice_all_settings', $all_settings_data, $post_id, $post ); -
apply_filters( 'atlas_voice_display_metabox', false ); -
apply_filters( 'AtlasAiDev_is_local', isset( $_SERVER['REMOTE_ADDR'] ) ? in_array( $_SERVER['REMOTE_ADDR'], [ '127.0.0.1', '::1' ] ) : true ); -
apply_filters( 'atlasvoice__text_after_content', $text_after_content, $post, $language, $voice, $player_number ); -
apply_filters( 'atlasvoice__text_before_content', $text_before_content, $post, $language, $voice, $player_number ); -
apply_filters( 'atlasvoice_emit_picker_stub', $emit ); -
apply_filters( 'atlasvoice_localize_data', $this->localize_data, array( 'post_id' => $post_id, 'settings' => $settings, ) ); -
apply_filters( 'atlasvoice_picker_bundle_url', $url ); -
apply_filters( 'atlasvoice_player_content', $content, $post, $language, $voice, $player_number ); -
apply_filters( 'atlasvoice_show_bar_when_off', false ); -
apply_filters( 'atlasvoice_skip_picker_loader', false ); -
apply_filters( 'get_block_css', $customize ); -
apply_filters( 'tta__button_text_arr', $text_arr, $atts, $content_read_time ); -
apply_filters( 'tta__content_description', $description_sanitized, $description, $post->ID, $post ); -
apply_filters( 'tta__content_excerpt', $excerpt_sanitized, $post ); -
apply_filters( 'tta__content_title', $title, $post ); -
apply_filters( 'tta__settings_exclude_tags', $tags ); -
apply_filters( 'tta_after_clean_content', $text ); -
apply_filters( 'tta_before_clean_content', $text ); -
apply_filters( 'tta_boundary_delimiter', self::default_delimiter(), $tag, $boundary_type ); -
apply_filters( 'tta_clean_content', $text ); -
apply_filters( 'tta_closing_characters', array( '"', "'", '”', '’', ')', ']', '}', '»', '›', '」', '』', ')', '】' ) ); -
apply_filters( 'tta_delimiter_characters', array( '.', ',', '?', '!', '|', ';', ':', '…', '¿', '¡', '،', '؟', '۔', '؛', '。', '!', '?', ',', '、', ';', ':', '।', '॥', '։', '՞', '።', '፡', '·', ) ); -
do_action( 'tta_enqueue_pro_dashboard_scripts' ); -
apply_filters( 'tta_frontend_localize_data', array_diff_key( $this->localize_data, array( 'admin_url' => '', 'image_url' => '', 'plugin_url' => '', 'pro' => '' ) ) ); -
apply_filters( 'tta_play_count_migration_batch_size', 500 ); -
apply_filters( 'tta_pro_before_clean_content', $htmlString ); -
apply_filters( 'tta_should_load_button', $should_load_button, $current_post ); -
apply_filters( 'tta_void_boundary_tags', array( 'hr', 'br' ) ); -
apply_filters( 'tts__listening_button', $button, $player_number, $class, $post ); -
do_action( 'tts_after_metabox_content' ); -
apply_filters( 'tts_analytics_post_list', $post_data, $post_types, $post_ids ); -
apply_filters( 'tts_analytics_response', $response, $context, $dates, $results ); -
apply_filters( 'tts_atlasmcp_promo', array( 'status' => $status, 'action_url' => $url, 'wporg_url' => 'https://wordpress.org/plugins/' . $slug . '/', ) ); -
apply_filters( 'tts_available_players', $players ); -
do_action( 'tts_before_metabox_content' ); -
apply_filters( 'tts_button_inline_handles', array( 'text-to-audio-button' ), $params, $plugin_all_settings ); -
apply_filters( 'tts_button_with_content', $final_content, $button, $content, $button_position, $post ); -
apply_filters( 'tts_capabilities', array() ); -
apply_filters( 'tts_compatible_plugins_data', $compatible_plugins_data, TTA_Cache::all_plugins() ); -
apply_filters( 'tts_content_handles_intro_outro', false ); -
apply_filters( 'tts_content_reading_time', 1, $content, $post ); -
apply_filters( 'tts_delimiter_addable_tags', $tags ); -
apply_filters( 'tts_emit_legacy_wrapper', $emit_wrapper, $content, get_the_ID() ); -
apply_filters( 'tts_enable_steprail', $val ); -
do_action( 'tts_enqueue_button_scripts', $params ); -
apply_filters( 'tts_excludable_css_arr', [ 'plyr.min.css', 'text-to-audio-pro.css', ] ); -
apply_filters( 'tts_excludable_css_string', implode( ',', self::$excludable_css_arr ) ); -
apply_filters( 'tts_excludable_js_arr', [ 'TextToSpeech.min.js', 'text-to-audio-button.min.js', 'text-to-audio-dashboard-ui.min.js', 'tts-welcome-wizard.min.js', 'tts-bulk-mp3-file.min.js', 'tts-css-selectors.min.js', 'AtlasVoiceAnalytics.min.js', 'AtlasVoicePlayerInsights.min.js', 'tts-extractor-engine.min.js', 'tts-picker.min.js', 'tts_button_settings', 'tts_button_settings_1', 'tts_button_settings_2', 'tts_button_settings_3', 'tts... ); -
apply_filters( 'tts_excludable_js_string', implode( ',', self::$excludable_js_arr ) ); -
apply_filters( 'tts_file_name', $title, $selectedLang, $voice, $post ); -
apply_filters( 'tts_force_check_is_singular', is_singular(), $current_post ); -
apply_filters( 'tts_free_emit_atlasvoice_markers', true, get_the_ID() ); -
apply_filters( 'tts_get_all_categories', $formatted_categories ); -
apply_filters( 'tts_get_all_tags', $formatted_tags ); -
apply_filters( 'tts_get_file_url_key', $file_url_key, $language, $voice ); -
apply_filters( 'tts_get_path_from_url', array( 'url' => $url, 'path' => $audio_dir, ) ); -
apply_filters( 'tts_get_player_id', $player_id ); -
apply_filters( 'tts_get_settings', $all_settings_data, $post ); -
apply_filters( 'tts_get_voice', $default_voice ); -
apply_filters( 'tts_ignore_match_80_percent', false ); -
apply_filters( 'tts_initial_button_texts', [ 'listen_text' => $listen_text, 'pause_text' => $pause_text, 'resume_text' => $resume_text, 'replay_text' => $replay_text, 'start_text' => $start_text, 'stop_text' => $stop_text, ], $content_read_time ); -
apply_filters( 'tts_is_atlasvoice_addon_functional', $status ); -
apply_filters( 'tts_is_cdn_active', $active ); -
apply_filters( 'tts_is_display_content_pass', ! $is_throwaway, get_post() ); -
apply_filters( 'tts_is_exluded_by_terms', $is_exclude, $term_type ); -
apply_filters( 'tts_is_pro_active', $status ); -
apply_filters( 'tts_is_secondary_loop', $is_secondary, $current_id, $queried_id ); -
apply_filters( 'tts_log_file_path', $base_dir . '/tts-debug.log' ); -
apply_filters( 'tts_mp3_file_urls', array(), $post, $file_url_key, $date, $file_name ); -
apply_filters( 'tts_network_overview_site_limit', 100 ); -
apply_filters( 'tts_normalize_language_code', $primary . $rest, $language ); -
apply_filters( 'tts_player_customizations', $this->build_player_customizations() ); -
apply_filters( 'tts_player_language_and_player_voice', [ 'language' => $language, 'voice' => $voice ], $plugin_all_settings, $post ); -
apply_filters( 'tts_plugin_name', 'AtlasVoice' ); -
apply_filters( 'tts_post_has_mp3', false, $post ); -
apply_filters( 'tts_pro_delimiter_addable_tags', $tags ); -
apply_filters( 'tts_pro_plugins_data', [ 'gtranslate/gtranslate.php' => [ 'type' => 'class', 'data' => $gtranslate_data, 'plugin' => 'gtranslate', 'allowed_languages' => $allowed_languages, 'enterprise_version' => isset($GTranslate['enterprise_version']) ? $GTranslate['enterprise_version'] : '', 'pro_version' => isset($GTranslate['pro_version']) ? $GTranslate['pro_version'] : '', ], 'sitepress-multilingual-cms/sitepress.php' => [ 't... ); -
apply_filters( 'tts_pro_url', add_query_arg($args, $base), $context, $content, $page ); -
apply_filters( 'tts_pronunciation_text', $content_sanitized, $rules ); -
apply_filters( 'tts_reduce_enqueue', ['reduce_enqueue_status' => false, 'button_no' => 1] ); -
apply_filters( 'tts_should_match_filename_with_post_title', false, $file_name, $date, $url ); -
apply_filters( 'tts_show_atlasvoice_mode_bar', $val ); -
apply_filters( 'tts_show_post_player_toggle', (bool) $show_toggle, $post ); -
apply_filters( 'tts_show_staging_note', true ); -
apply_filters( 'tts_site_language', $default_language ); -
apply_filters( 'tts_text_aliases', $saved, $content_sanitized ); -
apply_filters( 'tts_trackable_post_ids', $body['tts_trackable_post_ids'] ); -
apply_filters( 'tts_upgrade_url', class_exists( '\\TTA\\TTA_Helper' ) ? \TTA\TTA_Helper::get_pro_url( 'admin', 'steprail_upgrade' ) : 'https://atlasaidev.com/plugins/text-to-speech-pro/pricing/' ); -
apply_filters( 'tts_version', '2.3.27' );
Generated from Text To Speech TTS Accessibility'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: