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_active_blog_for_user, get_adjacent_post, get_author_posts_url

Top Google Results

User discussions

wpseek mobile