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

Top ↑

Parameters Parameters


(string[]) The list of WP_User roles which need the hack.

Top ↑

Source Source

File: includes/admin/class.llms.admin.menus.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
7.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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