I need to add a new field to my custom form
-
Hi. pluggable.php has the function
function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() )
. My contact form gets all this fields ex. `wp_mail($et_email_to, sprintf( ‘[%s] ‘ . esc_html($_POST[‘et_contact_subject’]), $et_site_name ),
esc_html($_POST[‘et_contact_message’],
‘From: “‘. esc_html($_POST[‘et_contact_name’]) .'” <‘ . esc_html($_POST[‘et_contact_email’]) . ‘ >’);
` I want to add a new field so that i can collect the phone number as well. Any ideas? not willing to use plugins.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘I need to add a new field to my custom form’ is closed to new replies.