Filter: jsps_edit_counters_capability

apply_filters( 'jsps_edit_counters_capability', $capability ) → {string}
Capability needed to edit the share counters of a post, in the "Sharing buttons" box of the editor. The user must be able to edit the post too. Return '' to disable the counters edition.

Parameters:

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

Returns:

The capability, or '' to disable the counters edition.
Type
string