usces_filter_custom_field_input_td / フィルターフック

usces_custom_field_input() で表示するカスタムフィールドの td タグを書き換える

説明

usces_custom_field_input() で表示するカスタムフィールドの、td タグを書き換えます。

使い方

add_filter( 'usces_filter_custom_field_input_td',  'my_filter_custom_field_input_td', 10, 3 );
function my_filter_custom_field_input_td( $html, $key, $entry ) {
    //処理
    return $html;
}

パラメータ

$html
(文字列)初期値

<td colspan="2">
$key
(文字列)カスタムフィールドキー
$entry
(配列)カスタムフィールド情報

用例

ソースファイル

usc-e-shop/functions/template_func.php

関連資料

  • usces_custom_field_input()