{"id":802,"date":"2021-11-08T15:19:49","date_gmt":"2021-11-08T15:19:49","guid":{"rendered":"https:\/\/mklasen.com\/?p=802"},"modified":"2023-02-03T12:29:15","modified_gmt":"2023-02-03T12:29:15","slug":"vs-code-highlighting-function-names-from-wordpress-core","status":"publish","type":"post","link":"https:\/\/mklasen.com\/vs-code-highlighting-function-names-from-wordpress-core\/","title":{"rendered":"VS Code showing errors for functions in WordPress core?"},"content":{"rendered":"\n
I literally got used to Visual Studio code highlighting function names from WordPress core when working in environments that don’t include the WordPress Core files. Quite disturbing actually – especially when you have code sniffers setup and follow WordPress Coding Standards.<\/p>\n\n\n\n
Well, today I noticed it again and did some research. Apparently, there’s an easy fix!<\/p>\n\n\n\n
When you have PHP Intelephense installed (and if you don’t have it, go get it), this is what you need to:<\/p>\n\n\n\n
That’s it! <\/p>\n\n\n\n
Happy developing!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" I literally got used to Visual Studio code highlighting function names from WordPress core when working in environments that don’t include the WordPress Core files. Quite disturbing actually – especially when you have code sniffers setup and follow WordPress Coding Standards. Well, today I noticed it again and did some research. Apparently, there’s an easy […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"acf":[],"yoast_head":"\n