Filter Default Admin Capability


Thsi filter allows you to manipulate the default admin capability. You can also filter it based on the source of the request.

Parameter Type Description
$this->admin_cap string The admin capability
$target string An identifier from where the capability was requested
return apply_filters( 'wpmt/settings/capability', $this->admin_cap, $target );
Updated on September 10, 2019

Was this article helpful?

Related Articles