Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Remove Admin Bar in Buddypress/WordPress
abdulawal39
Mar 28th, 2015
207
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
u_remove_admin_bar
(
)
{
if
(
!
is_super_admin
(
)
)
add_filter
(
'show_admin_bar'
,
'__return_false'
)
;
}
add_action
(
'wp'
,
'u_remove_admin_bar'
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
News May2 24
Email | 1 hour ago | 26.86 KB
Analog Clock rev_03
Arduino | 2 hours ago | 1.81 KB
OLED Showcase rev_02
Arduino | 2 hours ago | 2.00 KB
OLED Display rev_01
Arduino | 2 hours ago | 2.00 KB
udp.py
Python | 2 hours ago | 3.12 KB
syn.py
Python | 2 hours ago | 4.47 KB
mixamp.py
Python | 2 hours ago | 9.53 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!