I'm trying to remove some regions if the page is admin like this:
function mytheme_page_alter(&$page) {
if (current_path() == 'admin') {
unset($page['content']);
unset($page['highlighted']);
}
}
But it's not removing the contents and highlighted regions from localhost/drupal/admin