wpcf7_text_messages()
Хуков нет.
Возвращает
null
. Ничего.
Использование
wpcf7_text_messages( $messages );
- $messages (обязательный)
- -
Код wpcf7_text_messages() wpcf7 text messages CF7 5.7.4
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' => __( "Please enter an email address.", 'contact-form-7' ), ), 'invalid_url' => array( 'description' => __( "URL that the sender entered is invalid", 'contact-form-7' ), 'default' => __( "Please enter a URL.", 'contact-form-7' ), ), 'invalid_tel' => array( 'description' => __( "Telephone number that the sender entered is invalid", 'contact-form-7' ), 'default' => __( "Please enter a telephone number.", 'contact-form-7' ), ), ) ); return $messages; }