WordPress 5.3.0 Hooks, Functions, Classes and Methods
Page 8

author_can()

Returns whether the author of the supplied post has the specified capability.

current_datetime()

Retrieves the current time as an object using the site’s timezone.