TIL how to get WordPress functions working in VSCode
POSTED ON:
WordPress has a bunch of built-in functions/hooks to help with development.
But right out of the box, with the PHP Intelephense Extension for VSCode, it'll still give errors for WordPress code.
For WordPress Devs using VSCode,
You have to manually add wordpress as a stub
.
REF:
https://stackoverflow.com/questions/59890854/vs-code-highlighted-all-my-wordpress-function-name
Related TILs
Tagged: vscode