Filter: ep_capability

apply_filters( 'ep_capability', $capability ) → {bool}

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

Parameters:
Name Type Description
$capability bool

Capability name. Defaults to 'elasticpress_manage'

Since:
  • 4.5.0
Source:
Returns:

New capability value

Type
bool