Store the user IP in a custom field

This topic contains 2 reply and 2 voices, and was last updated by Brk 10 years, 4 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
July 17, 2014 at 7:40 am 23685
Brk Hi I would like to store the user IP in a custom field. When user submits and updates the form. I am not a developer but i think this can be done with wpuf_add_post_after_insert and wpuf_add_post_after_update hooks to store $_SERVER['REMOTE_ADDR'] in a custom field. But i need your help very much ? Can you share an example action code ? Thank you
July 20, 2014 at 11:47 am 23790
Sekander Badsha Sekander Badsha

Hello Brk,
The hooks you have mentioned is correct. Here is the official WordPress documentation about “add_action” http://codex.wordpress.org/Function_Reference/add_action

July 21, 2014 at 4:21 am 23833
Brk Brk

Thanks Sekander. You are very helpfull..

If some developer friends have a little code about this , and if they share here, i will be very happy.

Thanks.

Viewing 2 Posts - 1 through 2 (of 2 total)