Can I create multiple ajax function/request with same action and nonce? I created an array, and using that array, a new form and its fields will be generated. I want to use the same nonce and action for the AJAX function/request. echo '<div class="forms_wrapper">'; foreach ($sections as $section) : echo '<form action="#" method="POST" class="save_settings_form">'; wp_nonce_field('settings_save_nonce', 'settings_save_nonce'); echo '<input name="name" id="name" value="" />'; echo '<input name="email" id="email" value="" />'; //some more fields echo '<button>submit</button>'; echo '</form>'; endforeach; echo '</div>'; //Ajax add_action('wp_ajax_settings_save_nonce', array($this, 'settings_save_nonce')); function settings_save_nonce() { if (!isset($_POST['settings_save_nonce']) || !wp_verify_nonce(sanitize_key(wp_unslash($_POST['settings_save_nonce'])), 'settings_save_nonce')) { return; } //Some functions wp_die(); } //jquery $(document).ready(function () { $('.save_settings_form').on('submit', function (e) { let task = $(this).serialize(); task += "&action=settings_save_nonce"; $.ajax({ type: 'POST', url: ajax_url, data: task, success: function( response ) { } }); }); });