2 Email addresses for each user

You can create usermeta at time of insert user like, i create zip code in my site see this code, $user_id = wp_insert_user( array( ‘user_login’ => $user_email, ‘user_pass’ => wp_generate_password ( 12, false ), ‘first_name’ => ‘khushu’, ‘last_name’ => ‘soni’, ‘user_email’ => $user_email, ‘display_name’ => ‘khushu’ . ‘ ‘ . ‘soni’, ‘nickname’ => ‘khushu’ . … Read more

Custom Front End Registration – How Does the Key work in the Password Set Request?

Because I couldn’t find an answer on this, I handled it myself by setting my own cookie in the function and checking that. Here is the revised function: function custom_login_init () { $action = isset($_REQUEST[‘action’]) ? $_REQUEST[‘action’] : ‘login’; if ( isset( $_POST[‘wp-submit’] ) ) { $action = ‘post-data’; } else if ( isset( $_GET[‘reauth’] … Read more