• Resolved Battlecat

    (@richardkrone)


    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

    • This topic was modified 2 years, 5 months ago by Battlecat. Reason: commas!!!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘YOAST Breadcrumb functions in VS Code’ is closed to new replies.