title: Wordpress REST API create custom endpoint that uses custom table
body: <p>Is it possible to create a Custom endpoint that is connected to the same database but with a custom table? if yes, how?</p>
  
  <p>for example : </p>
  
  <p>wp_TempTable (Custom Table)</p>
  
  <p>I want to access this with a custom endpoint... I have searched multiple forums and sites but no luck..</p>