* Describe the bug *
The plugin considers the functions as an error: Undefined symbol 'get_header' (Wordpress)
Reproduce
php get_footer (); ?>
get_footer is considered the error
Screenshot


thank you
Also for laravel "Aliases" and built-in methods.
These functions are defined in wp-includes/general-template.php, include it in workspace or disable intelephense.diagnostics.undefinedSymbols setting.
You may want to include all wp-includes/*-template.php
That's right.
It's weird, before I did not have those mistakes
Thank you
1.3 now identifies functions that can't be found in the workspace. If you don't want to have wp core in your project then there are also stubs that can be added eg https://github.com/GiacoCorsiglia/wordpress-stubs . Alternatively, undefined symbol checks can be turned off "intelephense.diagnostics.undefinedSymbols":false
Most helpful comment
1.3 now identifies functions that can't be found in the workspace. If you don't want to have wp core in your project then there are also stubs that can be added eg https://github.com/GiacoCorsiglia/wordpress-stubs . Alternatively, undefined symbol checks can be turned off
"intelephense.diagnostics.undefinedSymbols":false