wp_dashboard_recent_posts
wp_dashboard_recent_posts ( $args )
Parameters:- (array) args { An array of query and display arguments. @type int $max Number of posts to display. @type string $status Post status. @type string $order Designates ascending ('ASC') or descending ('DESC') order. @type string $title Section title. @type string $id The container id. }
Returns:- (bool) False if no posts were found. True otherwise.
Defined at: - Introduced in WordPress: 3.8.0
- Deprecated in WordPress: —
Description
Generates Publishing Soon and Recently Published sections.