tptn_popular_posts_widget_output
Filters the dashboard widget output
Type: filter
Since: 3.3.0
Source: includes/admin/class-dashboard-widgets.php line 411
Parameters
| Type | Name | Description |
|---|---|---|
string |
$output |
Widget output |
bool |
$daily |
Is this a daily widget |
int |
$page |
Page number |
int |
$limit |
Limit of posts |
bool |
$widget |
Is this a widget |
bool |
$network |
Is this network-wide |
Usage
add_filter( 'tptn_popular_posts_widget_output', function($output, $daily, $page, $limit, $widget, $network) {
// ...
return $output;
} );