Adding function to Genesis genesis_header [closed]

It looks like a mismatch of the number of arguments. Your function has none but your action hook says it expects one.