VSCode marks every function as “Undefined function ‘function_name'”
-
Hi there,
I thought this should be easy to fix but it seems I am unable to find a solution.
I am starting to develop a child theme for a WordPress project.
In VS Code every function in PHP files is marked with “Undefined function ‘function_name'”
I am not a specialised WordPress developer but I am assuming these are all WordPress functions. I checked other PHP files (appart from the child theme I’m working on) like files in the parent theme and plugins and this seems to happen on all php files.
How do I get rid of these messages?
I tried installing some VSCode plugins like “WordPress Hooks IntelliSense” and “WordPress VS Code Extension Pack” but none of those seem to solve this issue.
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.