I am developing an extension (named extensionbase) for the CiviCRM 5.78 plugin to WordPress 6.6.2. I think that means I'm using smarty5. I store extensionbase in wp-content\uploads\civicrm\ext\extensionbase.
So, BasePage.php is in wp-content\uploads\civicrm\ext\extensionbase\CRM\Extensionbase\Page. BasePage.tpl is in wp-content\uploads\civicrm\ext\extensionbase\templates\CRM\Extensionbase\Page.
From what I can tell using xdebug, CiviCRM correctly finds BasePage.php in wp-content\uploads\civicrm\ext\extensionbase\CRM\Extensionbase\Page. (Debugging also confirms I am using smarty5). However, CiviCRM looks for BasePage.tpl in wp-content\plugins\civicrm\civicrm\templates\CRM\Extensionbase\Page.
How can I get CiviCRM to look for BasePage.tpl in wp-content\uploads\civicrm\ext\extensionbase\templates\CRM\Extensionbase\Page?