WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wpcf7_text_messages() CF7 1.0

Хуков нет.

Возвращает

Null. Ничего.

Использование

wpcf7_text_messages( $messages );

Код wpcf7_text_messages() CF7 5.3.2

<?php
function wpcf7_text_messages( $messages ) {
	$messages = array_merge( $messages, array(
		'invalid_email' => array(
			'description' =>
				__( "Email address that the sender entered is invalid", 'contact-form-7' ),
			'default' =>
				__( "The e-mail address entered is invalid.", 'contact-form-7' ),
		),

		'invalid_url' => array(
			'description' =>
				__( "URL that the sender entered is invalid", 'contact-form-7' ),
			'default' =>
				__( "The URL is invalid.", 'contact-form-7' ),
		),

		'invalid_tel' => array(
			'description' =>
				__( "Telephone number that the sender entered is invalid", 'contact-form-7' ),
			'default' =>
				__( "The telephone number is invalid.", 'contact-form-7' ),
		),
	) );

	return $messages;
}