Removed hook global function, instead using HeaderFooter class static function