Title: Hook
Last modified: August 30, 2016

---

# Hook

 *  [nmgwp](https://wordpress.org/support/users/nmgwp/)
 * (@nmgwp)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/hook-2/)
 * I have used add_action to add a function to the pdb_after_submit_signup hook.
   What variables or code do I use to grab the info from the record?
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/hook-2/#post-6513149)
 * There is an associative array passed in to the callback that contains the values
   of the new record, so you just need to add an argument to your function and the
   values will be in that variable.

Viewing 1 replies (of 1 total)

The topic ‘Hook’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [add_action](https://wordpress.org/support/topic-tag/add_action/)
 * [add_filter](https://wordpress.org/support/topic-tag/add_filter/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/hook-2/#post-6513149)
 * Status: not resolved