get_most_recent_post_of_user


get_most_recent_post_of_user ( $user_id )

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

Description

Get 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_default_post_to_edit, get_author_posts_url, get_comment_statuses

Top Google Results

User discussions

wpseek mobile