Skip to content

Markus Henriksson

life of a full stack wordpress developer

adminbar

Disable WordPress admin bar sitewide

January 26, 2016October 29, 2015 by Markus Henriksson

Disable WordPress admin bar sitewide, for all users, by adding this to your functions.php.

PHP
1
show_admin_bar(false);

 

Categories PHP, Wordpress Tags adminbar, functions.php, wordpress, wp-admin 1 Comment

Archives

  • September 2016
  • May 2016
  • April 2016
  • March 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015

Categories

  • CSS
  • Linux
  • MySQL
  • PHP
  • Plugin
  • Ubuntu Server
  • Uncategorized
  • WooCommerce
  • Wordpress

Recent Posts

  • Add a custom field to every public post types in WordPress with Advanced Custom Fields
  • Custom logo in WooCommerce Storefront
  • Glances – a cross-platform system monitoring tool for Ubuntu Server
  • Secure your Ubuntu Server
  • Generate custom XML sitemap on post save in WordPress
© 2021 Markus Henriksson
Hosted by Marinex Kommunikation