Skip to content

Commit

Permalink
Remove archive from admin menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Nov 14, 2023
1 parent 52598ce commit ece57fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/themes/wordplate/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

// Remove admin toolbar menu items.
add_action('admin_bar_menu', function (WP_Admin_Bar $menu) {
$menu->remove_node('archive'); // Archive
$menu->remove_node('comments'); // Comments
$menu->remove_node('customize'); // Customize
$menu->remove_node('dashboard'); // Dashboard
Expand Down

0 comments on commit ece57fa

Please sign in to comment.