WPDev.one
Core Function
View Source on Trac ↗

get_most_recent_post_of_user()

get_most_recent_post_of_user( mixed $user_id )

Gets a user's most recent post.

Parameters 1 required

Name / Type Description
$user_id
int

User ID.

Required

Return Value

(array)
Contains the blog_id, post_id, post_date_gmt, and post_gmt_ts.

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-functions.php
Advertisement