llms_current_user_can( string $cap, int $obj_id = null )

Checks LifterLMS user capabilities against an object


Description Description


Parameters Parameters

$cap

(Required) Capability name.

$obj_id

(Optional) WP_Post or WP_User ID.

Default value: null


Top ↑

Return Return

(boolean)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Use strict array comparison.
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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