tptn_admin_dashboard_tab_content
Filters a dashboard tab’s content before the popular posts table is built.
Return a string to replace the table, for tabs that render their own report.
Type: filter
Since: 4.6.0
Source: includes/admin/class-dashboard.php line 523
Parameters
| Type | Name | Description |
|---|---|---|
string|null |
$output |
Tab HTML, or null to render the popular posts table. |
array |
$args |
Tab arguments, including network. |
Usage
add_filter( 'tptn_admin_dashboard_tab_content', function($output, $args) {
// ...
return $output;
} );