Filters the primitive capabilities required of the given user to satisfy the capability being checked.
$capsstring[]
$capstring
$user_idint
$argsarray
return apply_filters( 'map_meta_cap', $caps, $cap, $user_id, $args );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/map_meta_cap