Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,529
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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 );
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS