Skip to main content

Questions tagged [user-registration]

Filter by
Sorted by
Tagged with
0 votes
1 answer
3k views

Custom user registration fields in user_register hook

I am trying to send an email to administrator with user_register action hook and wp_mail() function when a new user registers. I created some custom registration fields and I want send them via e-mail,...
1 vote
1 answer
728 views

re-register custom post type with custom capabilities

I have created custom post type as below. register_post_type( 'connector', array( 'labels' => array( 'name' => __( 'Connectors' ), 'singular_name' => __( '...
0 votes
2 answers
742 views

Add a custom user meta data on registration based on user email

I am looking for a function to fill a user meta data automatically when they register. In the registration form we ask for user email. Once they validate their registration, we want to get that value ...
16 votes
10 answers
37k views

Adding fields to the "Add New User" screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
0 votes
1 answer
1k views

How to hide username on wordpress registration?

I know this has been ask a few times but I'm looking for a better way to do this. Currently, I've got it working but its not user friendly as the form will re-ask registrants to "please type your e-...
0 votes
1 answer
4k views

Register a new user on wooCommerce using Rest API

So, I am building a website in react using Wordpress headless server with WooCommerce plugin. I have found that to create a new customer, you have to use the WooCommerce API: https://woocommerce....
0 votes
1 answer
1k views

Wordpress auto login user after registration only from a specific page

I have have a custom join page that is called /join/ and the page id=484 and it uses a plugin for the registration function by simply placing a shortcode on the page very straight forward. I need to ...
0 votes
1 answer
1k views

Is it possible to remove the password field in the registration page in woocommerce?

I'm trying to create a custom registration for the customer in the woocommerce registration page. Basically, I want the users to register with their their basic details, without their password. Once ...
0 votes
1 answer
2k views

Updating usermeta from login redirect to billing address

I'm setting up a site with woocommerce login from frontend. I want to take the customer directly from there to registering billing address. Then I want to fill in the billing first and last names ...
0 votes
1 answer
813 views

Modify new user email notification in network admin screen wp multisite

Can please teach me which function reference should I use to modify new user email notification in network admin screen -> add user. I want to use custom email template for notify user? it will ...
1 vote
3 answers
780 views

Auto login from custom registration form

I am trying to login a user from custom user registration form. My Code for Custom user Register is function register_user($data) { $userdata = array( 'user_login' => $data['...
4 votes
3 answers
3k views

"Password Strength Unknown" Registration Issue

I encountered a strange bug when users are trying to enter a new password that states "Password Strength Unknown" regardless of the amount of characters (capitalized etc.) that are entered ...
0 votes
1 answer
904 views

Can't activate a user on multisite install

So I have a user that I can't activate with the unconfirmed plugin manually. His user was created on all appropriate sites, but his account isn't listed as activated. The link in the activation email ...
1 vote
3 answers
3k views

Register users without confirmation

I'm looking to register users without requiring confirmation of their emails (and even better, no password when they register). Basically, I want them to subscribe their mails using wp registration ...
0 votes
1 answer
1k views

Add role selector to custom registration page

I have sucessfully integrated this code in functions.php //1. Add a new form element... add_action( 'register_form', 'myplugin_register_form' ); function myplugin_register_form() { global $wp_roles; ...
0 votes
2 answers
2k views

Registration form not registering First and Last name

I'm creating a custom registration form which works using username and email inputs, but when I include First and Last name fields it won't let me register. Here is the form: <form id="...
1 vote
2 answers
768 views

Make e-Mail optional on Woocommerce sign up

My site uses mobile login ability and that is our primary means of communication and the brick and mortar utilised this so we need to make it optional for users to enter email as we have a local sms ...
0 votes
1 answer
1k views

Allow users to register on multisite through WooCommerce using the same email address

I'm working on setting up a multisite environment, and have run into the possibility of a user trying to register on the sub-site with the same email address they've used on the main site. I've found ...
0 votes
1 answer
1k views

Impossible to create a new WooCommerce customer using Rest API

On my website I have created a register page in react and I am using Wordpress headless with WooCommerce on it. So I was expecting to create a new user using the register page i have and as the ...
0 votes
2 answers
2k views

Set display name from nickname with register process

It is possible set display name from entered string into nickname registration field? I trying do this with simple hook, but after all it is not work. function set_default_display_name( $user_id ) { ...
0 votes
1 answer
21 views

How could i add username field in WooCommerce

I don't know how to add username field in registration page. There is no settings about this also. Used to be there is a setting about adding a username field but not now how could i add username ...
6 votes
2 answers
5k views

Remove email verification when new user register

Please note I'm not posting this question without doing google search, but the problem is every single result I found is either about BuddyPress or WP Multisite, but I have a WP Single installation ...
2 votes
2 answers
8k views

Disable domain redirect

Desired behavior: http://www.situationware.com should stay at www.situationware.com, no registration required. Currently wordpress is automatically redirecting to the Amazon hostname ec2-107-22-241-...
0 votes
1 answer
1k views

Possible to set new user's site time zone at user creation using Gravity Forms?

Let's say I have a multisite network running with Buddypress and has Gravity Forms installed with the GF User Registration addon. During new user/site registration, is there ANY way I can have the ...
0 votes
3 answers
3k views

Disable emails for new user registration

I want to disable the default email that is send when user is registered. I am using this plugin for email verification User Verification By PickPlugins, which sends an email with confirmation link, ...
1 vote
1 answer
853 views

Disallow google/other email plus and dot tricks when registering?

A user registered with my WordPress blog as "[email protected]" (for example). I'm fine with that. However, if the user comes back with "[email protected]", I want to stop him for ...
0 votes
2 answers
1k views

Registration key

I want to make my single wordpress installation a closed community. Only people who know the registration key should be able to sign up. I already added some more fields to the registration form but I ...
0 votes
1 answer
2k views

How to load specific template page in a custom shortcode

I'm using a theme for my WP site that has its own registration page template (register.php). I'm trying to create a shortcode that will load that template wherever I want, but I can't make it work. ...
0 votes
1 answer
3k views

Adding more fields to the registration form

Am using Jupiter theme. https://demos.artbees.net/jupiter/labrandeus/ The registration has by default username and password fields. The view for it is defined as below: <?php if (get_option('...
0 votes
1 answer
1k views

Custom Registration Fields woocommerce

Hi I am trying to make a custom Registration page for woocommerce, till validation it works fine but when i am trying to insert the data in database nothing happens. this is the sample code i am using ...
0 votes
1 answer
853 views

Duplicate notifications for new user registration

I am trying to figure out why new user registrations are receiving duplicate notification emails. They arrive at the exact same time but from different addresses, one is from the admin owner (myself) ...
0 votes
2 answers
998 views

Unable to Add User after Site Migration

After migrating a WordPress 4.7.2 site from staging to production, everything seems to be working fine except that I cannot add a new user. The All Users screen shows my existing 2 admin accounts that ...
0 votes
1 answer
1k views

WordPress 5.8 - Hide or Remove personal fields from admin Profile page

There are several threads on this topic, but none updated to Wordpress 5.8 The question is, in 2021 WP 5.8, what is the cleanest or recommended code to hide profile fields when creating/editing a user,...
0 votes
1 answer
1k views

Adding register & login at top right corner

I am using the HitMag WordPress theme. On the website, register & login is showing on the sidebar (widgets). But I want to show register & login at the top right corner in button form. I want ...
20 votes
3 answers
12k views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role('Doctor', __('Doctor'), array('read'=>'...
0 votes
0 answers
34 views

User has empty instead of custom role when logged in

I am doing custom registration and logging and assigning a custom user role. I register like this: $user_id = wp_create_user($username, $password, $email); if (!is_wp_error($user_id)) { ...
0 votes
0 answers
62 views

Limit username in WordPress registration form to numbers

I want to get only a ten-digit number that starts with 9 as a username from users. How to limit the number type with 10 characters and start with number 9?
0 votes
0 answers
20 views

Change or replace user_profile_picture_description filter, to stop stripping whitespace

It appears that whoever coded WP's user profile form (or BBPress's, if BBPress is replacing the default one) considered it the most important mission in the history of humanity to prevent anyone from ...
0 votes
3 answers
448 views

Set user role on registration so can upload file to own media library area

I need my users to be able to upload files to the media library and therefore need to somehow automatically set the user role to something other than the default "subscriber" when they register. I ...
0 votes
0 answers
183 views

Spam Registrations Bypassing WordPress Registration

I have a custom platform built that requires users to register with more information than is required by the standard WordPress registration process. I also have custom front-end login and password ...
0 votes
1 answer
75 views

Prefix user login_name and validate it is unique on Registration

I want to add a static prefix to each new user who registers. I do it using the pre_user_login hook Example: function prefix_user_on_registration($username) { if (!str_starts_with($username, '...
1 vote
2 answers
40 views

Include New Meta Field In New User Registration Email

I am currently using the below code to add some meta fields to my users and would love to include these in their registration email, but it appears they are not created before the email is sent. // ...
5 votes
5 answers
22k views

turn off new user registration emails

I would like to turn off the emails that the admin gets when a new user registers. We are getting a lot of emails because of new registrations (they are legitimate registrations) but I just don't ...
0 votes
0 answers
52 views

Disable Email Register form

Disable Email Register form account. I want my customers to sign up with an account and password but without email Wordpress allow this ?
0 votes
1 answer
127 views

My account page, don't show the complete "Registration form"

my account page of woocommerce, is normally split in two, left side for registration and right side for login. The registration part contains only two fields: email and password. It's normal this view?...
0 votes
1 answer
1k views

Add custom Date column to "All Users" admin panel in WP

I wan to add a date field to my user list dashboard where I can see list of new subscribers to my website along with the date they signed-up. Thanks ~Vik
1 vote
2 answers
2k views

Changing the Default New User Notification Email

I've been trying to edit the automatic email sent by WordPress to users when they register for my site. Currently, they register on a form made by the plugin called Forminator. However, the WordPress ...
0 votes
0 answers
69 views

Create Application Password when User Registers

I can successfully create application passwords using the POST /wp/v2/users/<user_id>)/application-passwords endpoint but is there a way to have WordPress create an application password for a ...
5 votes
4 answers
54k views

How to redirect a sucessful registration to a page template?

Each time I register I end up in the wp-login page (back-end): Is there any way of redirecting the users who register to a page template (front-end)?
0 votes
1 answer
39 views

Allowing a CPT post to be edited by a single user role

I am in the process of creating a form for a user to fill out to create a listing request which creates a CPT post and user record. In this process, I want to copy the subscriber role, rename it '...

1
2 3 4 5
19