Using wordpress admin ajax is very simple. You need to follow this steps accordingly. Create a function to display your form in front end. You can use short code to include your form in post/page. Make sure you must have action filed in form, with the help of action value you can access wp_ajax hook. Declare the ajax hook respective to the action name. In this example, my action name is the_ajax_hook1, so i have created the hook wp_ajax_the_Action_hook1(wp_ajax_{$action}). Include your js file by wp_enque_script(). Localize your included script with the help of wp_localize_script(). That's all.. Here is our example... [code lang="php"] /* Plugin name:KTM Ajax call Description: creating ajax call from front end Author : Karthik */ //It helps to add your script. wp_enqueue_script('ktm_my_script' , plugin_dir_url(__FILE__) . 'script.js' , array('jquery') ); //It helps to access php variable i...