title: Wordpress Custom Form Submission via admin-post.php stopped working
body: <p>I have a page with a custom form which sends post data via admin-post.php. This used to work fine a few days ago but now it seems that its not even triggering the function. Here is the code. <strong>I also have some other similar forms on the same site but all of them have stopped working.</strong></p>
  
  <pre><code>&lt;form action="&lt;?php echo esc_url( admin_url('admin-post.php') ); ?&gt;" method="POST"&gt;
      &lt;input type="hidden" name="action" value="create_user"&gt;
      &lt;?php wp_nonce_field('create_user'); ?&gt;
      &lt;input type="text" class="form-control" name="first_name" placeholder="First Name" required/&gt;
      &lt;input type="text" class="form-control" name="last_name" placeholder="Last Name" required/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>In my functions.php i have this</p>
  
  <pre><code>function create_user() {
      $retrieved_nonce = $_POST['_wpnonce'];
      if (!wp_verify_nonce($retrieved_nonce, 'create_user' ) ){
          $status = 'failed';
      }else{
  
        // My Code goes here
      }
  }
  add_action( 'admin_post_create_user', 'estudy_create_user' );
  </code></pre>
  
  <p>I have tried echoing something and dieing out the script just to check whether the function is being triggered or not but that too is not working.</p>
  
  <p>Any help in the right direction would be great :)</p>