you forgot the “action” key in your data array. With that key you define which function is called from your plugin or function.php File. For more information see the WordPress documentation – AJAX in Plugins
you forgot the “action” key in your data array. With that key you define which function is called from your plugin or function.php File. For more information see the WordPress documentation – AJAX in Plugins