# wplingua/2.12.2/data/ajax.php

Translate and Go multilingual – Automatic AI translation – wpLingua, version 2.12.2. 31 lines.

- Page: https://pluginprobe.com/plugins/wplingua/2.12.2/code/data/ajax.php
- Raw: https://pluginprobe.com/plugins/wplingua/2.12.2/raw/data/ajax.php
- Modified: 2026-05-04T00:07:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wplingua/2.12.2/code/data/ajax.php#L10-L20`.

```php
<?php

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}


/**
 * Get AJAX action to exclude from translation
 *
 * @return array
 */
function wplng_data_excluded_ajax_action() {
	return apply_filters(
		'wplng_excluded_ajax_action',
		array(
			// WordPress
			'heartbeat',

			// Plugin: wpLingua
			'wplng_ajax_heartbeat',
			'wplng_ajax_translation',
			'wplng_ajax_edit_modal',
			'wplng_ajax_save_modal',
			'wplng_ajax_slug',
			'wplng_load_in_progress',
		)
	);
}

```
