[wordpress插件] Contact Form 7 Mail Conditions联系表7邮件条件

wordpress 插件 文章 2020-03-31 03:00 0 219 全屏看文
评分
40
描述

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.

在WP Contact Form 7插件发送邮件之前,此插件已激活。

It looks for if-conditions written in shortcode-style and evaluates if the condition variable is empty or not.

它查找以简码格式编写的if条件,并评估condition变量是否为空。

Depending on that the block between [if] and [/if] is inserted into the mail or not.

取决于[if]和[/ if]之间的块是否插入邮件中。

Example:

示例:

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

[如果电话]电话号码:[电话] [/如果]

安装步骤

    1. Copy the contact-form-7-mail-conditionals into your plugins folder
    2. 将contact-form-7-mail-conditionals复制到您的插件文件夹中

    3. Activate the plugin
    4. 激活插件

下载地址
https://downloads.wordpress.org/plugin/contact-form-7-mail-conditions.zip
-EOF-