The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
746 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. ...
2
votes
1answer
93 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 ...
2
votes
2answers
126 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 ...
1
vote
1answer
91 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. ...
0
votes
2answers
42 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? ...
0
votes
0answers
7 views

Parse error on user_register

I am trying to add a matching system. When I signup it will loop through all users that have the same interest as me, interests are done in checkboxes and put in one array. This is my whole function: ...
0
votes
0answers
39 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? ...