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.


Top ↑

Parameters Parameters

$grant

(boolean) Whether or not the requested capability is granted to the user.

$obj_id

(int) WP_Post or WP_User ID.


Top ↑

Source Source

File: includes/functions/llms.functions.person.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.