Forums

Contact Form 7
Changing the Message (1 post)

  1. mjmitche
    Member
    Posted 11 months ago #

    Hi, I went into the functions.php file in the includes folder to change the message it sends after a successful submission. I put in the new message "I'll be in touch soon," as shown below, but I'm still getting the default message i.e. "Your message was sent successfully. Thanks"

    How can I change this?

    function wpcf7_messages() {
    	$messages = array(
    		'mail_sent_ok' => array(
    			'description' => __( "Sender's message was sent successfully", 'wpcf7' ),
    			'default' => __( 'I'll be in touch soon.', 'wpcf7' )
    		),

Reply

You must log in to post.

About this Plugin

About this Topic