Codex tools: Log in / create account
Contents |
Retrieve the $num most recent posts from the database in order of the post date. Defaults to retrieving the 10 most recent posts.
<?php wp_get_recent_posts( $num ) ?>
Since: 1.0.0
wp_get_recent_posts() is located in wp-includes/post.php.