Opened 16 years ago
Closed 9 years ago
#725 closed defect (bug) (worksforme)
remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); not working in RC2?
Reported by: | cawoodm | Owned by: | |
---|---|---|---|
Milestone: | Priority: | minor | |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
See the following thread http://buddypress.org/forums/topic.php?id=2380&replies=4#post-14124
Change History (5)
#3
@
10 years ago
- Severity set to normal
Hi,
I think this action is not working anymore.
remove_action('bp_adminbar_logo','bp_adminbar_logo');
has no effect on my website.
#5
@
9 years ago
- Resolution set to worksforme
- Status changed from reopened to closed
Make sure that you are firing your remove_action()
call after init:9
. So:
function bp725_remove_adminbar_logo() { remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); } add_action( 'init', 'bp725_remove_adminbar_logo', 20 );
Note: See
TracTickets for help on using
tickets.
solution place it in active theme's function.php file
http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/remove_action-bp_adminbar_logo-bp_adminbar_logo-not-working-in-rc2/#post-14436