apply_filters( 'va_restrict_admin_access', string $capability )
Filter the allowed capability to access wp-admin.
Package
Description Description
Parameters Parameters
- $capability
(string) The minimum WordPress capability allowed. Defaults to 'manage_options'.
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |