title: Wordpress plugin: Hook on custom url
body: <p>I want to make a plugin, that I will use for some jQuery AJAX loading of table data.</p>
  
  <p>I have a function that prints the data correctly, but how do I "hook" into a specific url?</p>
  
  <p>Like say, I want the function to be run, and the data to be printed whenever a request to /mycustomplugin/myurl.php is run? (Please note that the url/file should not exist)</p>
  
  <p>I have no experience with WP plugins.</p>