current_user_can( ... )

Returns whether the current user has the specified capability.

Parameters:
  • $capability string
  • $args mixed