I need to include this file path to an override:
includes/languages/english/CUSTOM/account_history_info.php
Of course, I can just hard-code it and it works. However, what is the correct syntax so that it would still work after changing to a different template or language?
I can't come up with an example at the moment in the code, although I'm sure there is one.
For example, here's some code that gets the correct directory for a template file:
I'm thinking there must be something similar for language files. Thanks!Code:require($template->get_template_dir('tpl_account_history_info_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_account_history_info_default.php');



