Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 11 years ago

#725 closed defect (bug) (worksforme)

remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); not working in RC2?

Reported by: cawoodm Owned by:
Priority: minor Milestone:
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

Change History (5)

#1 @apeatling
17 years ago

  • Resolutioninvalid
  • Status newclosed

#3 @elpix
12 years ago

  • Severitynormal

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
12 years ago

  • Resolution invalid
  • Status closedreopened

#5 @boonebgorges
11 years ago

  • Resolutionworksforme
  • Status reopenedclosed

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.