EOT; return $code; } function insertGACode() { $accountId = bb_get_option('ga_key'); if ($accountId != '') { echo createGACode($accountId); } } add_action('bb_head', 'insertGACode'); ?>