Skip to:
Content

BuddyPress.org

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's profile cawoodm Owned by:
Milestone: Priority: minor
Severity: normal Version:
Component: Core Keywords:
Cc:

Change History (5)

#1 @apeatling
16 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#3 @elpix
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.

#4 @elpix
10 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#5 @boonebgorges
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.