apply_filters( 'toria/ajax/mode', $mode, $action, $php_callback, $script_path );
Filters the visibility of the AJAX endpoint.
The name of the Ajax action.
PHP function to respond to ajax calls.
The path where the JavaScript file is located.