apply_filters( "llms_current_user_can_{$cap}", boolean $grant , int $obj_id )
Filters whether or not the current user can perform the requested action
Description Description
The dynamic portion of this hook, $cap
, refers to the requested user capability.
Parameters Parameters
- $grant
-
(boolean) Whether or not the requested capability is granted to the user.
- $obj_id
-
(int) WP_Post or WP_User ID.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |