Menu Close

Remove WordPress from Top Admin Bar

Updated On January 11, 2019
You are here:
< Back

Locate the file ADMIN-BAR.PHP in WP-ADMIN folder, search for wp_admin_bar_wp_menu and insert a “return false;” right at the begin of the function, like this:

function wp_admin_bar_wp_menu( $wp_admin_bar ) {
  return false;

Comments are welcome.

DFX.lv is a website about gamedev, tech, blog, personal shared space unshackled from bullshit.

NSFW & Parental Advisory Warning

DFX.lv is not safe for work and is not kids friendly. Posts on this website can display explict gore, nudity, blood, crude humor and terrible opinions.

“Rather a painful ending than an endless pain."
%d bloggers like this: