Get largest page id by title?

Assuming there are a few pages with same title, how to get id of the page that has the largest id (newest)? I have tried get_page_by_title, but it returns the smallest id (oldest).

Read more here:: Get largest page id by title?

Leave a Reply

Your email address will not be published. Required fields are marked *