• Greetings,

    I’d like to see if a page exists based on a slug before I add a link to it on my site. Is there a function available that would allow me to do this? Something like …

    page_exists("the-slug")

    … which would return true or false.

    From the database, I think I could write it myself, but I thought I’d ask first.

    Thanks,
    Dash

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Determine Page Existence’ is closed to new replies.