[buddypress-trac] [BuddyPress] #1987: Buddypress 1.2 - Removing Custom Image Header
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Feb 18 15:58:58 UTC 2010
#1987: Buddypress 1.2 - Removing Custom Image Header
-------------------------+--------------------------------------------------
Reporter: anraiki | Owner:
Type: defect | Status: closed
Priority: minor | Milestone: 1.2.1
Resolution: worksforme | Keywords:
-------------------------+--------------------------------------------------
Changes (by MrMaz):
* status: new => closed
* resolution: => worksforme
Comment:
Since the child theme functions.php loads first you have to add an action
that removes the other action before it tries to execute it. Since the
core action runs at default priority 10, you just have to hook in at
priority 9.
Here is how to do it:
`
function remove_header_support() {
remove_action( 'init', 'bp_dtheme_add_custom_header_support' );
}
add_action( 'init', 'remove_header_support', 9 );
`
--
Ticket URL: <http://trac.buddypress.org/ticket/1987#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list