Used By
Used By | Description |
---|---|
wp-includes/capabilities.php: map_meta_cap() | Maps meta capabilities to primitive capabilities. |
Filters a user’s capabilities depending on specific context and/or privilege.
(string[]) Array of the user's capabilities.
(string) Capability name.
(int) The user ID.
(array) Adds the context to the cap. Typically the object ID.
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/map_meta_cap