map_meta_cap, $caps, $cap, $user_id, $args
map_meta_cap, $caps, $cap, $user_id, $args
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('map_meta_cap, $caps, $cap, $user_id, $args') is found 1 times:
- /wp-includes/capabilities.php line 879
* @param int $user_id The user ID. * @param array $args Adds context to the capability check, typically * starting with an object ID. */ return apply_filters( 'map_meta_cap', $caps, $cap, $user_id, $args ); } /** * Returns whether the current user has the specified capability. * * This function also accepts an ID of an object to check against if the capability is a meta capability. Meta