This is my permalink structure
How can I check "test-post" exist or not? I'm using wpml for multi language so not able to check using slug.
Post ID is causing issues while checking. Is there any solution for this?
When using url_to_postid(), this format is working https://example.com/in/test-post/, but not this
any solution to handle with post id?
Thanks in advance.