Hi @gregattack
The functions.php file is run BEFORE the init action. To hook into the init action, please read up on WP actions, and write a function and attach it to the init
action. Something like this would work:
function my_init() {
// do something
}
add_action('init', 'my_init');
Thanks
E