get_most_recent_post_of_user


get_most_recent_post_of_user ( $user_id )

Parameters:
  • (int) user_id User ID.
Returns:
  • (array) Contains the blog_id, post_id, post_date_gmt, and post_gmt_ts.
Defined at:
Change Log:
  • M: U

Description

Gets a user's most recent post.Walks through each of a user's blogs to find the post with the most recent post_date_gmt.

Related Functions

wp_get_recent_posts, get_blogs_of_user, get_author_posts_url, get_default_post_to_edit, get_parent_post_rel_link

Top Google Results

User discussions

wpseek mobile