function add_profitwell_script_to_footer() { /* DO NOT DELETE - this code is used to accept our payments or send data to ProfitWell */ $token = "7fa2caf19554cd85a507b8809f9ee755"; $start_options = "{}"; $current_user = wp_get_current_user(); if ($current_user->exists()) { $start_options = "{user_email: '{$current_user->user_email}'}"; } echo " "; } add_action('wp_footer', 'add_profitwell_script_to_footer');