March 29, 2016 at 8:50 pm
#43853
david.pagnon88
Participant
Hi,
That’s actually what I did:I unhooked it this way
function unhook_interface_display_footer_sidebar() {
remove_action( 'interface_footer_sidebar', 'interface_display_footer_sidebar', 10);
}
add_action( 'init', 'unhook_interface_display_footer_sidebar');
function interface_child_display_footer_sidebar(){
BLABLA
}
The thing is that the function is rather big, and I only want to change one single class. Is there any other way to do it in fewer lines ? I’m just curious, if there is none I’d like to know it but this is no big deal, it’s still working fine !