Filter plugin capability

eeb/settings/capability

Description:
Filter the main settings capability of our plugin.

Parameter Type Description
$this->admin_cap string The main admin capability of the plugin. Default manage_options
$target string An identifier of where the plugin comes from.
return apply_filters( 'eeb/settings/capability', $this->admin_cap, $target );
Updated on September 25, 2019

Was this article helpful?

Related Articles