I am working on a WordPress project and I need to get the page URL by the title of the page. I used to use the function get_page_by_title ($article [‘title’], OBJECT, ‘post’) to do this, but I found out that this function has been deprecated and is no longer recommended. This function was very convenient for me because I was testing some features on different databases and I could not use IDs to get the page URL. Is there any alternative way to get the page URL by the title of the page in WordPress without using IDs or WP_Query class? I think using WP_Query class is too complicated and inefficient for this simple task. I would appreciate any suggestions or solutions that can help me with this problem. Thank you.