apply_filters( 'toria/ajax/ajax_handle', $ajax_handle, $action, $php_callback, $script_path, $mode, $nonce, $ajax_object )

Filters the name of JavaScript.



Name of script.


The name of the Ajax action.


PHP function to respond to ajax calls.


The path where the JavaScript file is located.


(string) Determines if the script will be exposed to authenticated Ajax actions for logged-in users or non-authenticated Ajax actions for logged-out users or both. Using both, private, and public.


(string) Used to create WP nonce for verification on PHP callback.


(string) Name of object to be storing JS variables.