Restrict instructors from accessing WP Admin panel

NO LONGER REQUIRED, ENABLE SWITCH WP ADMIN – WPLMS – BUDDYPRESS – HIDE ADMIN BAR

Add below code in child theme functions.php file or WP Admin – Plugins – Editor – WPLMS Customizer – wplms_customizer.php

Refer WP tutorial : https://codex.wordpress.org/Plugin_API/Action_Reference/admin_init

 

Was this article helpful?

Related Articles