get_posts( ... )

Retrieves an array of the latest posts, or posts matching the given criteria.

Parameters:
  • $args array