Tori Ajax
Add AJAX easily by passing an action name, PHP callback, and JavaScript file path to the toria_add_ajax() function with the Tori Ajax plugin.
Consider an alternative
Tori Ajax shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 9 months ago, and scores 36/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Tori Ajax stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| ajax | >100 |
| javascript | >100 |
| toria_add_ajax | #1 |
| tori_ajax | #1 |
About Tori Ajax
From the official readme Β· v2.0.3Description
Add AJAX easily by passing an action name, PHP callback, and JavaScript file path to the toria_add_ajax() function with the Tori Ajax plugin.
Documentation
Please check out the Tori Ajax plugin Documentation
About
This is an easy-to-use dev tool for adding Ajax in word press.
Installation
- Upload
tori-ajaxfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add custom code to add ajax in your theme functions or anywhere else desirable. For example:
function my_simple_ajax() {
// Magic happens here.
echo json_encode( 'Welcome to Tori Ajax' );
}
if ( function_exists( 'toria_add_ajax' ) ) {
toria_add_ajax(
'simple',
'my_simple_ajax',
get_stylesheet_directory_uri() . '/inc/my_custom_ajax/toria_ajax.js'
);
}
- Create a javascript file in the
inc/my_custom_ajax/toria_ajax.js. - Add Javascript code. For example:
function tori_ajax() {
jQuery.ajax({
type: "post",
url: toria.ajax_url, // admin-ajax.php path,
data: {
action: toria.action, // action
nonce: toria.nonce, // pass the nonce here
},
success: function (data) {
console.log(data.trim());
//alert(data.trim());
},
error: function (errorThrown) {
console.log(errorThrown);
}
});
}
tori_ajax();// call the function.
Changelog
Added plugin meta links in wp-admin/plugins.php
1.0.0
- The beginning of the Tori Ajax plugin.
1.0.1
- Fixed: Uncaught ArgumentCountError during the nonce check.
- Added JSON output for nonce messages.
1.0.2
-
Added 3 optional arguments to toria_add_ajax() function:
$script_depends(string[]) (Optional) An array of registered script handles this script depends on. Default value: array().$script_version(string|bool|null) (Optional) String specifying script version number, if it has one, which is added to the URL as a query string for cache busting purposes. If the version is set to false, a version number is automatically added equal to the current installed Tori Ajax version. If set to null, no version is added. Default value: false.$script_in_footer(bool) (Optional) Whether to enqueue the script before instead of in the . Default ‘false’.
-
Added support for PHP version 5.6.20 and above
- Added compatibility of WordPress Version 3.0 and above
1.0.3
- Fixed: PHP Notice undefined variable: allowed_html
1.1.0
- Compatible with WordPress 6.0.
- Added filters:
apply_filters( ‘toria/ajax/action’, $action );
apply_filters( ‘toria/ajax/php_callback’, $php_callback, $action );
apply_filters( ‘toria/ajax/script_path’, $script_path, $action, $php_callback );
apply_filters( ‘toria/ajax/mode’, $mode, $action, $php_callback, $script_path );
apply_filters( ‘toria/ajax/nonce’, $nonce, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/ajax_object’, $ajax_object, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/ajax_handle’, $ajax_handle, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/script_depends’, $script_depends, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/script_version’, $script_version, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/script_in_footer’, $script_in_footer, $action, $php_callback, $script_path, $mode );
apply_filters( ‘toria/ajax/ajax_variables’, $ajax_variables, $action, $php_callback, $script_path, $mode );
1.2.0
*Added more parameters to some filters.
*The affected filters are:
apply_filters( ‘toria/ajax/ajax_object’, $ajax_object, $action, $php_callback, $script_path, $mode, $nonce );
apply_filters( ‘toria/ajax/ajax_handle’, $ajax_handle, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object );
apply_filters( ‘toria/ajax/script_depends’, $script_depends, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object, $ajax_handle );
apply_filters( ‘toria/ajax/script_version’, $script_version, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object, $ajax_handle, $script_depends );
apply_filters( ‘toria/ajax/script_in_footer’, $script_in_footer, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object, $ajax_handle, $script_depends, $script_version );
apply_filters( ‘toria/ajax/ajax_variables’, $ajax_variables, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object, $ajax_handle, $script_depends, $script_version, $script_in_footer );
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Tori Ajax alternatives
All ajax plugins βFAQ
Tori Ajax: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Tori Ajax free?
Yes. Tori Ajax is free to download and use from the official WordPress.org plugin directory.
Is Tori Ajax safe to use in 2026?
Tori Ajax shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 9 months ago, and scores 36/100 on our health check.
How many websites use Tori Ajax?
Tori Ajax is active on <10 WordPress websites and has been downloaded 2,177 times since it launched in April 2022. It was downloaded 63 times in the last 30 days.
Does Tori Ajax work with WordPress 7.1?
Tori Ajax is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Tori Ajax need?
Tori Ajax requires PHP 5.6.20 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Tori Ajax last updated?
The latest version, 2.0.3, was released on March 9, 2026 (9 months ago).
Who makes Tori Ajax?
Tori Ajax is developed and maintained by alvinmuthui.
What are the best alternatives to Tori Ajax?
The most popular alternatives to Tori Ajax are zipaddr-jp (50K+ installs), SearchWP Live Ajax Search (40K+ installs) and WP-Polls (30K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card





