*/
        public function deny_user($user_id)
        {
            global $current_site;
            $user_id = (int) $user_id;
            $user = new WP_User($user_id);
            if (!in_array('pending', (array) $user->roles)) {
                return;
            }
            do_action('deny_user', $user->ID);
            if (!apply_filters('send_new_user_denial_notification', true)) {
                return;
            }
            if (is_multisite()) {
                $blogname = $current_site->site_name;
            } else {
                // The blogname option is escaped with esc_html on the way into the database in sanitize_option
                // we want to reverse this for the plain text arena of emails.
                $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
            }
            $message = sprintf(__('You have been denied access to %s', 'theme-my-login'), $blogname);
            $title = sprintf(__('[%s] Registration Denied', 'theme-my-login'), $blogname);
            $title = apply_filters('user_denial_notification_title', $title, $user_id);
            $message = apply_filters('user_denial_notification_message', $message, $user_id);
            if ($message && !wp_mail($user->user_email, $title, $message)) {
                die('<p>' . __('The e-mail could not be sent.', 'theme-my-login') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...', 'theme-my-login') . '</p>');
            }
        }
    }
    Theme_My_Login_User_Moderation_Admin::get_object();
}