説明
マイページの「購入履歴」の「キャンセルを除外」の初期値(除外にチェック)を変更することができます。
使い方
add_filter( 'usces_filter_ord_ex_cancel_init', 'my_filter_ord_ex_cancel_init' );
function my_filter_ord_ex_cancel_init( $ex_cancel ) {
$ex_cancel = 'off';
return $ex_cancel;
}
パラメータ
- $ex_cancel
- (文字列)’on’(既定値)
戻り値
- $ex_cancel
- (文字列)'on'
用例
初期値をキャンセルを除外にせず、全ての購入履歴を表示する
add_filter( 'usces_filter_ord_ex_cancel_init', 'my_filter_ord_ex_cancel_init' );
function my_filter_ord_ex_cancel_init( $ex_cancel ) {
$ex_cancel = 'off';
return $ex_cancel;
}
フック
- なし
変更履歴
- 2.8.23
ソースファイル
usc-e-shop/classes/usceshop.class.php
PAGE TOP