How do I extract the last published post in Wordpress?
I would be grateful if someone can just point out the relevant action hooks that I should check out. I have seen publish_post, edit_post, save_post, get_the_tags, sanitize_** functions in post.php but so far no success.
I want to export the entire array of the last published post from the wordpress database. How do I do that? thanks.