[wp-hackers] Retrieving post id based on the page title
sudar at sudarmuthu.com
Sat Sep 12 11:55:39 UTC 2009
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.
More information about the wp-hackers