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;}

 

Was this article helpful?

Related Articles

Leave A Comment?