Home › Forums › Guestbook Add-On › How can I have ALL the form info sent to me? › Reply To: How can I have ALL the form info sent to me?
23 May 2022 at 10:49
#8023
Marcel Pol
Keymaster
Hi Blythe,
This PHP code should do that.
You can add it to the functions.php of your theme, preferably a child theme.
function my_gwolle_gb_mail_moderators_body( $body, $entry ) {
$body .= '
City: ' . $entry->get_author_origin() . '
IP address: ' . $entry->get_author_ip();
return $body;
}
add_filter( 'gwolle_gb_mail_moderators_body', 'my_gwolle_gb_mail_moderators_body', 10 ,2 );