cp_dashboard_petitions()
Callback function for the petitions dashboard widget
Source
File: wp-admin/includes/dashboard.php
function cp_dashboard_petitions() {
$feeds = array(
'trending' => array(
'title' => __( 'Trending' ),
),
'most-wanted' => array(
'title' => __( 'Most Wanted' ),
),
'recent' => array(
'title' => __( 'Recent' ),
),
);
wp_dashboard_cached_rss_widget( 'dashboard_petitions', 'cp_dashboard_petitions_output', $feeds );
}
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |