title: How i can make a get request to a php file from my custom plugin in wordpress
body: <p>I am creating a custom plugin for wordpress.
  I need to make a <code>GET</code> request to a file to update information in the database, and redirect to the original page.</p>
  <p>this the form</p>
  <pre><code> &lt;form action=&quot;&quot; method=&quot;get&quot;&gt;
                                  
       &lt;input type=&quot;submit&quot; value=&quot;&lt;?php echo $order-&gt;get_status(); ?&gt;&quot; name=&quot;status&quot;&gt;
                                 
     &lt;/form&gt;
  </code></pre>
  <p>and i need to access a file in the same directory to update something</p>
  <p>How do I start to accomplish what I requested?</p>