gform_html_message_template_pre_send_email

gform_html_message_template_pre_send_email

UsageParametersSource

The 「gform_html_message_template_pre_send_email」 filter in Gravity Forms allows the template for the HTML-formatted message to be overridden.

Usage

123456789101112131415add_filter( 'gform_html_message_template_pre_send_email', 'notification_template' ); function notification_template( $template ) {    $template = '                                    {subject}                                        {message}                    ';     return $template;}

Parameters

$template
string

The template for the html formatted message. Use {message} and {subject} as placeholders.

Source

common.php

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注