[buddypress-trac] [BuddyPress Trac] #725: remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); not working in RC2?
buddypress-trac
noreply at wordpress.org
Wed Sep 30 18:56:06 UTC 2015
#725: remove_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); not working in
RC2?
------------------------------+-------------------------
Reporter: cawoodm | Owner:
Type: defect (bug) | Status: closed
Priority: minor | Milestone:
Component: Component - Core | Version:
Severity: normal | Resolution: worksforme
Keywords: |
------------------------------+-------------------------
Changes (by boonebgorges):
* status: reopened => closed
* resolution: => worksforme
Comment:
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 );
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/725#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list