YOAST Breadcrumb functions in VS Code
-
Hello:
I am using the VS Code editor on a Linux Mint 21.0 desktop.
VS CODE Version: 1.71.2
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:12:14.256Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-48-generic
Sandboxed: No`I have an “Intelephense” licensed version installed.
I am trying to resolve the following error in the “Problems” console tab: Undefined function ‘yoast_breadcrumb’.
The code that is being referenced in the PHP file is:
<?php
if (function_exists(‘yoast_breadcrumb’)) {
echo “<br />”;
yoast_breadcrumb(‘<p id=”breadcrumbs”>’, ‘</p>’);
}
?>Does anyone have any thoughts on this? The code works, or at least does not produce an error, and displays breadcrumbs correctly on screen.
I realize it may not matter, but my mind hates to see error or warning messages! LOL
Thanks,
Richard
- The topic ‘YOAST Breadcrumb functions in VS Code’ is closed to new replies.