πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
Tori Ajax icon
Maintained Tested up to 6.8.13

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.

Active installs<10New
Downloads Β· 30d63β–² +18.9% vs prev. 30d
Ratingβ€”0 reviews
Health score36/100At risk
All-time downloads2.2KSince Apr 2022
Support resolvedβ€”No recent threads
RequiresWP 3.0.0PHP 5.6.20+
Downloads Β· 7d12β–Ό -36.8% week over week
Our verdict

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 & support

Daily downloads

123Sep 4Oct 18Dec 2
Yesterday3
Daily average (1y)2
Peak day32Mar 8, 2026
Last 12 months682

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where Tori Ajax stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
ajax >100 9,239 Best ajax plugins β†’
javascript >100 10,000 Best javascript plugins β†’
toria_add_ajax #1 1 Best toria_add_ajax plugins β†’
tori_ajax #1 1 Best tori_ajax plugins β†’

About Tori Ajax

From the official readme Β· v2.0.3

Description

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

  1. Upload tori-ajax folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. 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'
    );
}
  1. Create a javascript file in the inc/my_custom_ajax/toria_ajax.js.
  2. 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:

    1. $script_depends (string[]) (Optional) An array of registered script handles this script depends on. Default value: array().
    2. $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.
    3. $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 );

Full changelog on WordPress.org β†’

Screenshots

Sample theme functions PHP code
Sample theme functions PHP code
Sample Javascript code
Sample Javascript code
Sample theme functions PHP code for authenticated and non-authenticated Ajax actions.
Sample theme functions PHP code for authenticated and non-authenticated Ajax actions.
Sample theme functions PHP code for authenticated Ajax actions.
Sample theme functions PHP code for authenticated Ajax actions.
Sample theme functions PHP code for non-authenticated Ajax actions.
Sample theme functions PHP code for non-authenticated Ajax actions.

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.

Active installs badge Rating badge Health score badge

Best Tori Ajax alternatives

All ajax plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 zipaddr-jp zipaddr-jp zipaddr-jp is a collaborative tool that automatically inputs addresses from postal codes. by ta_terunuma 50K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (6) 4 months ago 71
2 SearchWP Live Ajax Search SearchWP Live Ajax Search Template powered live search for any WordPress theme. Does not require SearchWP, but will… by Syed Balkhi 40K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (36) 4 months ago 79
3 WP-Polls WP-Polls Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your… by Lester Chan 30K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.2 (136) 4 weeks ago 84
4 WP-PostRatings WP-PostRatings Adds an AJAX rating system for your WordPress site's content. by Lester Chan 20K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (178) 3 months ago 77
5 WPC AJAX Add to Cart for WooCommerce WPC AJAX Add to Cart for WooCommerce It is a highly effective plugin for helping online stores cut down the site’s loading time… by WPClever 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (18) 4 days ago 83
6 Relevanssi Live Ajax Search Relevanssi Live Ajax Search Template powered live search for any WordPress theme. Compatible with Relevanssi search! by Christoph Vielgrader 7K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (9) 7 days ago 73
7 Ajax Cart AutoUpdate for WooCommerce Ajax Cart AutoUpdate for WooCommerce A light plugin that automatically updates cart page and mini-cart when product quantity is… by taisho 7K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (214) 6 years ago 46
8 Enable CORS Enable CORS Please read the plugin description before installing to ensure compatibility and avoid… by Dev Kabir 5K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 3.7 (3) 1 month ago 75
9 Load More Anything Load More Anything Add Load More buttons, Ajax pagination, and Infinite Scroll to blog posts, WooCommerce… by Akhtarujjaman Shuvo 5K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.5 (73) 7 days ago 87
10 YMC Filter YMC Filter A powerful and flexible plugin to filter and display posts, custom post types, and other… by YMC 4K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.8 (34) 2 weeks ago 92

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

↑↓ to move↡ to open