apply_filters( 'llms_instructor_menu_hack_roles', string[] $roles )
Filters the WP_User roles should receive the instructor admin menu hack.
Description Description
If you wish to provide explicit access to the post
post type, to the instrutor or instructor’s assistant role, the role will need to be removed from this array so they can access to the post type edit.php screen.
See also See also
Parameters Parameters
- $roles
-
(string[]) The list of WP_User roles which need the hack.
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.1 | Introduced. |