usces_filter_send_order_mail_bodyall / フィルターフック

サンキューメールの本文を書き換える

説明

サンキューメール(購入時の自動送信メール)の、本文を書き換えます。

使い方

add_filter( 'usces_filter_send_order_mail_bodyall',  'my_filter_send_order_mail_bodyall', 10, 2 );
function my_filter_send_order_mail_bodyall( $msg_bodyall, $data ) {
    //処理
    return $msg_bodyall;
}

パラメータ

$msg_bodyall
(文字列)サンキューメール本文
$data
(配列)受注データ

用例

ソースファイル

usc-e-shop/functions/function.php

関連資料

  • usces_send_ordermail()