How to avoid errors due to not having the specific functions of wordpress inside the projet when making a Wordpress Theme on Visual Studio Code ?
Is there a plugin to download ?
Wordpress stubs are included in In VSCode.
You just need to activate it.
If you follow these steps your errors will disapear.
Now all the error should disapear.
If not, try to restart VSCode.