jrobinsonc
10/17/2016 - 2:58 AM

Wordpress: Hide admin bar

Wordpress: Hide admin bar

<?php

add_action('after_setup_theme', function () {
  if (!current_user_can('administrator') && !is_admin()) {
    show_admin_bar(false);
  }
});