bump because I really need to figure this out
Still havent figured this out and would LOVE an answer. From what I can tell the comment form only has 3 custom functions in the bp-default functions.php and I removed all the filters in my child theme funtions.php but they don’t remove and I don’t get it. Help me @boonebgorges
@enderpal, don’t have time to actually look closely at the stackexchange atm. but if it helps, you actually don’t need to unhook it.
The way wordpress works is it will always look through your child theme first, so if you copy the function into your child theme – when wordpress goes through default and finds `if ( !function_exists( ‘bp_dtheme_comment_form’ ) ) :` since it DOES exist inside your child theme, it will pretend that the function inside the default theme doesn’t exist essentially doing the exact same thing as ‘removed all the filters’ would do.
@chrisclayton thx for being awesome!…that solved the problem. Probably was 200 people on here who could have givin that simple answer sigh.
@enderpal444
12 years, 9 months ago
I’m trying to unhook the custom comment form template in the buddypress default theme so I can add it to my child theme functions.php and customize it but it doesnt seem to unhook. Here’s a full explanation with code snippets posted on wordpress.stackexchange.com http://wordpress.stackexchange.com/questions/46751/unhook-the-comment-form-in-buddypress