Filter: ep_network_capability

apply_filters( 'ep_network_capability', $capability, $context ) → {string}

Filter the WP capability needed to interact with ElasticPress in the network admin

Parameters:
Name Type Description
$capability string

Capability name. Defaults to 'manage_network_elasticpress'

$context string

Additional context

Since:
  • 4.5.0, 5.1.0 added $context
Source:
Returns:

New capability value

Type
string