wp_dashboard_recent_posts

SummerySummery

Generates Publishing Soon and Recently Published sections.

Syntax

wp_dashboard_recent_posts( array $args )

ParametersParameters

$args

(array) (Required) An array of query and display arguments.

  • 'max'
    (int) Number of posts to display.
  • 'status'
    (string) Post status.
  • 'order'
    (string) Designates ascending ('ASC') or descending ('DESC') order.
  • 'title'
    (string) Section title.
  • 'id'
    (string) The container id.

ReturnReturn

(bool) False if no posts were found. True otherwise.

SourceSource

File: wp-admin/includes/dashboard.php


			

ChangelogChangelog

Changelog
Version Description
3.8.0 Introduced.
Scroll to Top