usces_filter_history_item_name / フィルターフック

usces_member_history() で表示する会員の購入履歴データの商品名の後に表示を追加

説明

usces_member_history() で表示する会員の購入履歴データの、商品名の後に表示を追加できます。商品名の書き換えはできません。

使い方

add_filter( 'usces_filter_history_item_name',  'my_filter_history_item_name', 10, 4 );
function my_filter_history_item_name( $history_item_name, $member_history_order, $cart_row, $i ) {
    //処理
    return $history_item_name;
}

パラメータ

$history_item_name
(文字列)初期値NULL
$member_history_order
(配列)会員の購入履歴の受注情報
$cart_row
(配列)会員の購入履歴のカート情報
$i
(数値)会員の購入履歴のカート内の商品インデックス

用例

ソースファイル

usc-e-shop/functions/template_func.php

関連資料

  • usces_member_history()