The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
77 views

Display page only if user registered before a specific date

I'd like to know if it's possible to display a page only for users that registered before a specific date. Example : I want to display a page (or its content) only for users registered before 1st ...
0
votes
1answer
26 views

How can I modify labels in default wordpress registration form? [duplicate]

I need to change Label text in registration form, especially "Email" label. I want to add asterisk or just add text "required field" How can I do that? Please advice...
0
votes
1answer
39 views

Users Ultra: Hide asterisk for required registration fields?

All of the fields in my Users Ultra registration form are required. It makes no sense to place an asterisk on all of them. Is there a way to remove the asterisks?
0
votes
1answer
139 views

Update post_meta post_name with the post ID from wp_insert_post after user register

I'm creating a function that creates a page for a user when they register. The post created sits within a certain category. These are standard posts NOT custom post types. After the post is created I ...
0
votes
1answer
60 views

New User ID not working in custom function with user_register hook

I'm adding data to a table whenever a new user registers on the site. add_action( 'user_register', 'auto_follow_admin', 10, 1 ); function auto_follow_admin() { global $wpdb; ...
0
votes
0answers
133 views

how to change the wp register page url from www.site.com/register-2 to www.site.com/register

I was playing around with buddy press and had to create and delete the register page before i found the register page properly on my site. I want to keep my site clean and now when I create a new ...
1
vote
2answers
758 views

How to override WordPress registration and insert an auto-generated username?

I need to auto-generate usernames upon WordPress registration. I have a custom registration form set up and would like to create the username in functions.php. Can someone tell me why this isn't ...
0
votes
1answer
1k views

Get first_name and last_name on user_register hook

I have multisite running with 4 sites. One of them has woocommerce. Customers have option to create account while checkout. I have custom analytics where registered customers are labeled with ...
0
votes
1answer
32 views

Populate Website URL at registration time

I am trying to automatically populate/set the "Website" under Contact Information in user profiles at registration time. I want the URL to go to their Author Archives page (i.e., ...
2
votes
1answer
559 views

What hooks should I use for pre-login and pre-registration actions?

I am adding cookie on login page using 'init' action-hook. And than after login I check if this cookie exist in 'login_init' action-hook. And also after user registration I check if this cookie ...
0
votes
0answers
134 views

Get first_name on hook user_register

I have created a plugin for saving user info. I have used a action hook user_register, but I don’t get the values of first_name and last_name. What wrong in my code? ...
2
votes
2answers
434 views

Can user_register output the password?

I'm trying to output the password of a newly created user in plain text using the user_register hook as explained in this answer. However, upon doing a var_dump of $_POST, I don't see any password ...
0
votes
2answers
86 views

Create a post with user_register doesn't create title

I've got my user registration to automatically create a post with the user_register hook however the title shows up as (no title) can someone help me with what I'm doing wrong here? ...
4
votes
1answer
2k views

Create posts on user registration

How can I create let say 3 posts after the user finish the registration ? The ideal outcome would be to create 3 posts using the user as the author of the posts and with some pre-defined values. ...
1
vote
1answer
193 views

Does the user_register change in multisite?

I've created a function that automatically creates a new post for people when they register. It works great on a standard site but in multisite it stops working. I've spent hours trying to debug it. ...