Hi all,
@Sanjip Shah – I think there is a tiny little mistake in your code – line 6-7. Your code is:
function attitude_remove_parent_function(){
remove_action( 'attitude_header', 'attitude_child_headerdetails', 10 );
…which didn’t work for me. It should be like the following instead:
function attitude_remove_parent_function(){
remove_action( 'attitude_header', 'attitude_headerdetails', 10 );
That made it for me. Otherwise these lines are removing the action/function you actually want to add in the next lines. Do you agree?
I’m not an expert at all but if you agree you could maybe change the orginal code on page 1 of this thread. It took me quite a while to find out. Thank you very muich for your help anyway!
Kind regards
Schmalitz