I have a function in functions.php like so:
function myplugin_mycallback($id) {
// do something
}
I want this function called whenever a URL like myplugin/mycallback/xxx is accessed.
How/where do I define this path so it doesn't generate a 404?