email telephone number from contact form
I was able to add a field for telephone number by adding this code to the widget-listing-author.php file
<label><?php _e( 'Phone', APP_TD ); ?>
<input type="text" name="contact_phone" id="contact_phone" class="required">
</label>
How do I add the phone number to the email message in the emails.php file?
I found this code below but can't figure out how to pull the phone info into the email.
$message .= html( 'p',
sprintf( __( 'Name: %s', APP_TD ), $from_name ) . '<br />' .
sprintf( __( 'E-mail: %s', APP_TD ), $from_email )
) . PHP_EOL;