Can any IDE (eg PHPStorm, VS Code) correctly show functions added via require get_template_directory() string results?
I would simply like to do some WordPress theme development using statements like
require get_template_directory() . '/functions/base.php';
in my functions.php file. It seems IDEs do not know what to make of this function result and therefore do not map out [theme root]/functions/base.php as expected.
Topic ide theme-development Wordpress
Category Web