Title: Invoking SQL statement at registration
Last modified: August 22, 2016

---

# Invoking SQL statement at registration

 *  Resolved [ccamjc](https://wordpress.org/support/users/ccamjc/)
 * (@ccamjc)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/invoking-sql-statement-at-registration/)
 * Hello,
 * I am working on a pet project in which I would like to invoke some custom database
   scripting when a user joins, to setup some baseline entries unique to that user.
   I’m learning as I go, so please bear with me if my approach seems incorrect.
 * I was thinking that there should be a way for me to insert this database statement
   immediately after user registration, but I’m having a hard time finding which
   function controls this action. Perhaps it’s in the core WordPress files, but 
   I thought I would ask, since I like what I’ve seen in the UU plugin and wish 
   to use it.
 * Thanks in advance for any assistance.
 * Best,
 * Matthew
 * [https://wordpress.org/plugins/users-ultra/](https://wordpress.org/plugins/users-ultra/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/invoking-sql-statement-at-registration/#post-5859715)
 * Hello Matthew,
 * Thanks for your post.
 * I hope this tutorial helps a few [http://doc.usersultra.com/user-register-hook/](http://doc.usersultra.com/user-register-hook/)
 * UU comes with a hook that will let you do your “things” right after the user 
   registration.
 * Cheers
    Frank
 *  Thread Starter [ccamjc](https://wordpress.org/support/users/ccamjc/)
 * (@ccamjc)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/invoking-sql-statement-at-registration/#post-5859721)
 * Frank,
    Thanks for the reply. Looks like what I need. I will see what I can put
   together! Thanks again.
 * Matthew
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/invoking-sql-statement-at-registration/#post-5859722)
 * You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invoking SQL statement at registration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/users-ultra_a880cc.svg)
 * [Users Ultra Membership, Users Community and Member Profiles With PayPal Integration Plugin](https://wordpress.org/plugins/users-ultra/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/users-ultra/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/users-ultra/)
 * [Active Topics](https://wordpress.org/support/plugin/users-ultra/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/users-ultra/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/users-ultra/reviews/)

## Tags

 * [custom database](https://wordpress.org/support/topic-tag/custom-database/)

 * 3 replies
 * 2 participants
 * Last reply from: [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/invoking-sql-statement-at-registration/#post-5859722)
 * Status: resolved