wpmt/settings/capability
Description:
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 );