apply_filters( "llms_get_{$role}_core_caps", string[] $caps, string[] $all_caps )

Filters the LifterLMS capabilities added to a LifterLMS user role.

Description Description

The dynamic portion of this hook $role refers to the user’s role name.

Top ↑

Parameters Parameters


(string[]) List of capabilities provided to the role.


(string[]) Full list of all LifterLMS user capabilities.

Top ↑

Source Source

File: includes/class.llms.roles.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.21.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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