Filter: jsps_dashboard_widget_capability

apply_filters( 'jsps_dashboard_widget_capability', $capability ) → {string}
Capability needed to see the "Most shared posts" dashboard widget. Return '' to remove the widget.

Parameters:

Name Type Default Description
$capability string edit_posts The capability.
Since:
  • 2.6.0 First version
Author:
Source:

Returns:

The capability, or '' to remove the widget.
Type
string