I am using WordPress 3.4.2. The codex doesn’t say anything about this function being deprecated: http://codex.wordpress.org/Function_Reference/get_most_recent_post_of_user
Leave a Reply
You must be logged in to post a comment.
I am using WordPress 3.4.2. The codex doesn’t say anything about this function being deprecated: http://codex.wordpress.org/Function_Reference/get_most_recent_post_of_user
You must be logged in to post a comment.
get_most_recent_post_of_user() is for multisite installs to get the most recent post of the user from each blog.
Here is a comparable function you can use that will return the post object of the defined users most recent post.
Usage: