wpcf7_date_messages()CF7 1.0

Хуков нет.

Возвращает

null. Ничего (null).

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

wpcf7_date_messages( $messages );
$messages(обязательный)
.

Код wpcf7_date_messages() CF7 6.1.6

function wpcf7_date_messages( $messages ) {
	return array_merge( $messages, array(
		'invalid_date' => array(
			'description' => __( 'Date format that the sender entered is invalid', 'contact-form-7' ),
			'default' => __( 'Please enter a date in YYYY-MM-DD format.', 'contact-form-7' ),
		),

		'date_too_early' => array(
			'description' => __( 'Date is earlier than minimum limit', 'contact-form-7' ),
			'default' => __( 'This field has a too early date.', 'contact-form-7' ),
		),

		'date_too_late' => array(
			'description' => __( 'Date is later than maximum limit', 'contact-form-7' ),
			'default' => __( 'This field has a too late date.', 'contact-form-7' ),
		),
	) );
}