Update functions.php

Add support for THA theme hooks