how can I tell WordPress, that if a user registers, it shall execute my function?
Leave a Reply
You must be logged in to post a comment.
how can I tell WordPress, that if a user registers, it shall execute my function?
You must be logged in to post a comment.
You can use
user_register
action hook which fires after a user has registered and passes$user_id
as a variable: