intersynergy-login-plugin.php
/**
     * Stop subscribers from accessing the backed
     * Also turn off the admin bar for anyone but administrators.
     */
Stop subscribers from accessing the backed
Also turn off the admin bar for anyone but administrators.
Stop subscribers from accessing the backed Also turn off the admin bar for anyone but administrators .
public function intersynergy_lock_it_down()
    {
        if (! current_user_can('administrator') && ! is_admin()) {
        }
        if (current_user_can('subscriber') && is_admin()) {
            wp_safe_redirect('profile');
        }
    }
public function intersynergy_lock_it_down ( ) { if ( ! current_user_can ( 'administrator' ) && ! is_admin ( ) ) { } if ( current_user_can ( 'subscriber' ) && is_admin ( ) ) { wp_safe_redirect ( 'profile' ) ; } }
Stop subscribers from accessing the backed
 Also turn off the admin bar for anyone but administrators.
Stop subscribers from accessing the backed Also turn off the admin bar for anyone but administrators .
// show_admin_bar( false );