WordPress.org

Ready to get started?Download WordPress

Forums

url_to_postid for future posts (1 post)

  1. Holzhaus
    Member
    Posted 2 years ago #

    Hi,

    I desperately need a possibility to retrieve a post-ID from an URL/Permalink.

    I tried to use url_to_postid, but it does not work for not future posts (scheduled posts).
    Instead, it just returns 0.

    Is there another possibility?

    Thanks in advance,
    Holzhaus

Topic Closed

This topic has been closed to new replies.

About this Topic