Function: user_can_set_post_date

user_can_set_post_date( integer $user_id, integer $blog_id, integer $category_id )

Whether user can set new posts' dates.

Parameters

Name Type(s) Default Value Description
$user_id integer
$blog_id integer 1

Not Used

$category_id integer 'None'

Not Used

Returns

boolean

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.