LLMS_User_Permissions::__construct()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/class.llms.user.permissions.php
public function __construct() {
add_filter( 'user_has_cap', array( $this, 'handle_caps' ), 10, 3 );
add_filter( 'editable_roles', array( $this, 'editable_roles' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.34.0 | Always add the editable_roles filter. |
| 3.13.0 | Introduced. |