Wordpress 3 Create User Quickly


/ Published in: JavaScript
Save to your folder(s)

From the Wordpress 3 Create New User page, use this code in browser dev tools to create new users (all having the same email ending).


Copy this code and paste it in your HTML
  1. function adder(uname) {
  2. jQuery('#user_login').val(uname);
  3. jQuery('#email').val(uname+'@gmail.com');
  4. jQuery('#role').val('editor');
  5. jQuery('#noconfirmation').attr('checked',true);
  6. jQuery('#createuser').submit();
  7. }
  8. adder('newGuy');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.