Home › Forums › Plugin Support › WP User Frontend Pro › Store the user IP in a custom field This topic is: not resolved This topic contains 2 replies, has 2 voices, and was last updated by Brk 4 years, 10 months ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts July 17, 2014 at 7:40 am #23685 BrkParticipant Post count: 29 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 BadshaMember Post count: 2067 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 BrkParticipant Post count: 29 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. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Store the user IP in a custom field’ is closed to new replies.