Remove admins from the Instructors widget

The below code will remove the admin users from the instructor widget.

Please use this code in your wplms-customizer.php file present in your wplms customizer plugin:

add_filter('wplms_show_admin_in_instructors','Remove_admins_from_widget');

function Remove_admins_from_widget(){return 0;}

 

Leave a Reply

Your email address will not be published. Required fields are marked *