[wp-hackers] Retrieving post id based on the page title
Sudar Muthu
sudar at sudarmuthu.com
Sat Sep 12 11:55:39 UTC 2009
Hello all,
I need to know if there is a built-in function (or recommended way) to
retrieve the post id of a page/post based on the post title, without
querying the database directly.
I know it can be done by querying the database, but I prefer to use the
build-in function if available. A quick look into WordPress code, didn't
reveal any function.
Thanks!
With Regards,
Sudar
http://SudarMuthu.com
http://twitter.com/sudarmuthu
More information about the wp-hackers
mailing list