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.
Envisager une 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.
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
- Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Tori Ajax stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | 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
Environ
This is an easy-to-use dev tool for adding Ajax in word press.
Installation
- Télécharger le dossier
tori-ajaxdans le répertoire/wp-content/plugins/ - Activez le plugin via le menu « Plugins » dans 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.
Journal de modifications
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 );
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Tori Ajax alternatives
Tous les plugins Ajax →FAQ
Tori Ajax: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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 62 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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit





