Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Contact Form 7 Mail Conditions

Описание

Note: Complex if statements are not yet supported. Please contact me if you need this.

Before the WP Contact Form 7 Plugin sents a mail this plugin becomes active. It looks for if-conditions written in shortcode-style and evaluates if the condition variable is empty or not. Depending on that the block between [if] and [/if] is inserted into the mail or not.

Example:

[if phone]Phone number: [phone][/if]

Установка

  1. Copy the contact-form-7-mail-conditionals into your plugins folder
  2. Activate the plugin

Отзывы

03.09.2016
It doesn’t work with WP 4.3.1 and/or CF7 4.3.1. [if][/if] is not parsed at all. Error log contains the following message after sending mail: PHP Warning: Parameter 1 to Contact_Form_7_Mail_Conditions::before_send_mail() expected to be a reference, value given in /usr/local/***removed***/httpdocs/wp-includes/plugin.php on line 503
Посмотреть все 4 отзыва

Участники и разработчики

«Contact Form 7 Mail Conditions» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Contact Form 7 Mail Conditions» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.