3
votes
1answer
133 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 ...
3
votes
1answer
852 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
109 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. ...