Welcart

usces_filter_all_option_pdf / フィルターフック

説明

納品書等PDFの商品オプションの表示を変更します。

使い方

add_filter( 'usces_filter_all_option_pdf', 'my_filter_all_option_pdf', 10, 6 );
function my_filter_option_pdf( $optstr, $cart_row_options, $post_id, $sku, $cart_row_advance, $cart_row ) {
	return $optstr;
}

パラメータ

$optstr
(文字列)商品オプション
$cart_row_options
(配列)オプション値
$post_id
(数値)投稿ID
$sku
(文字列)SKU
$cart_row_advance
(配列)補足情報
$cart_row
(配列)カート情報

戻り値

$optstr
(文字列)

用例

ソースファイル

usc-e-shop/includes/order_print.php